- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 420 for UnsupportedOperationException (0.23 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
fail("Expected UnsupportedOperationException or NullPointerException."); } catch (UnsupportedOperationException | NullPointerException e) { // Expected. } assertInvariants(map); try { entrySet.addAll(singleton((Entry<K, V>) entryToAdd)); fail("Expected UnsupportedOperationException or NullPointerException."); } catch (UnsupportedOperationException | NullPointerException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
map = new MutableTypeToInstanceMap<>(); } public void testPutThrows() { assertThrows( UnsupportedOperationException.class, () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5))); } public void testPutAllThrows() { assertThrows( UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5)))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final int add(E element, int occurrences) { throw new UnsupportedOperationException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
throw new UnsupportedOperationException(); } @Override public Query filterQuery(Query query) { throw new UnsupportedOperationException(); } @Override public IndexSettings getIndexSettings() { throw new UnsupportedOperationException(); } @OverrideCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
} @Override public String getPathInfo() { throw new UnsupportedOperationException(); } @Override public String getPathTranslated() { throw new UnsupportedOperationException(); } @Override public String getContextPath() { throw new UnsupportedOperationException();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
override fun getApplicationBufferSize(): Int = throw UnsupportedOperationException() override fun getCipherSuite(): String = throw UnsupportedOperationException() override fun getCreationTime(): Long = throw UnsupportedOperationException() override fun getId(): ByteArray = throw UnsupportedOperationException() override fun getLastAccessedTime(): Long = throw UnsupportedOperationException()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
public final void clear() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
throw new UnsupportedOperationException(); } @Override void visitWildcardType(WildcardType t) { throw new UnsupportedOperationException(); } @Override void visitParameterizedType(ParameterizedType t) { throw new UnsupportedOperationException(); } @Override void visitClass(Class<?> t) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0)