- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 322 for UnsupportedOperationException (2.28 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
/* UnsupportedOperationException on direct modifications. */ assertThrows(UnsupportedOperationException.class, () -> unmod.put(4, "four")); assertThrows(UnsupportedOperationException.class, () -> unmod.forcePut(4, "four")); assertThrows(UnsupportedOperationException.class, () -> unmod.putAll(singletonMap(4, "four"))); assertThrows(UnsupportedOperationException.class, () -> unmod.replaceAll((k, v) -> v));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
/* UnsupportedOperationException on direct modifications. */ assertThrows(UnsupportedOperationException.class, () -> unmod.put(4, "four")); assertThrows(UnsupportedOperationException.class, () -> unmod.forcePut(4, "four")); assertThrows(UnsupportedOperationException.class, () -> unmod.putAll(singletonMap(4, "four"))); /* UnsupportedOperationException on indirect modifications. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* UnsupportedOperationException." */ abstract void setCountNoCheckReturnValue(E element, int count); private void assertSetCountIncreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to increase an element's count should throw"); } catch (UnsupportedOperationException expected) { } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents. * <li>All methods that return objects that can indirectly mutate the collection throw * UnsupportedOperationException when those mutators are called. * </ol> * * @param collection the presumed-immutable collection
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
* @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public void addAll(RangeSet<C> other) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException alwaysRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
} } @Override public void invalidateAll() { throw new UnsupportedOperationException(); } @Override public CacheStats stats() { throw new UnsupportedOperationException(); } @Override public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
* * @deprecated unsupported operation * @throws UnsupportedOperationException always */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public @Nullable B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) { throw new UnsupportedOperationException("Please use putInstance() instead."); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
/** * Guaranteed to throw an exception and leave the table unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void clear() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the table unmodified.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.3K bytes - Viewed (0)