- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 420 for UnsupportedOperationException (0.21 seconds)
-
android/guava/src/com/google/common/collect/AbstractMapEntry.java
public abstract K getKey(); @Override @ParametricNullness public abstract V getValue(); @Override @ParametricNullness public V setValue(@ParametricNullness V value) { throw new UnsupportedOperationException(); } @Override public boolean equals(@Nullable Object object) { if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapEntry.java
public abstract K getKey(); @Override @ParametricNullness public abstract V getValue(); @Override @ParametricNullness public V setValue(@ParametricNullness V value) { throw new UnsupportedOperationException(); } @Override public boolean equals(@Nullable Object object) { if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
Iterable<String> iterable = MinimalIterable.from(singleton("a")); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertThrows(UnsupportedOperationException.class, iterator::remove); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, iterator::next); assertThrows(IllegalStateException.class, iterable::iterator); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { assertThrows( UnsupportedOperationException.class, () -> getList().addAll(MinimalCollection.of(e0()))); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_withDuplicates() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} } expectContents(expected); } @CollectionSize.Require(absent = ZERO) @ListFeature.Require(absent = SUPPORTS_SET) public void testReplaceAll_unsupported() { assertThrows(UnsupportedOperationException.class, () -> getList().replaceAll(e -> e)); expectUnchanged(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
} @Override public Joiner useForNull(String nullText) { throw new UnsupportedOperationException("already specified useForNull"); } @Override public Joiner skipNulls() { throw new UnsupportedOperationException("already specified useForNull"); } }; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
Iterable<String> iterable = MinimalIterable.from(singleton("a")); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertThrows(UnsupportedOperationException.class, iterator::remove); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, iterator::next); assertThrows(IllegalStateException.class, iterable::iterator); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final ImmutableSet<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java
} @Inject protected ProgressLoggerFactory getProgressLoggerFactory() { throw new UnsupportedOperationException(); } @Inject protected ExecOperations getExecOperations() { throw new UnsupportedOperationException(); } public void execute(Action<VagrantExecSpec> action) { VagrantExecSpec vagrantSpec = new VagrantExecSpec();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} } expectContents(expected); } @CollectionSize.Require(absent = ZERO) @ListFeature.Require(absent = SUPPORTS_SET) public void testReplaceAll_unsupported() { assertThrows(UnsupportedOperationException.class, () -> getList().replaceAll(e -> e)); expectUnchanged(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0)