- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 333 for UnsupportedOperationException (0.19 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
} catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPut_unsupportedPresentDifferentValue() { assertThrows(UnsupportedOperationException.class, () -> getMap().put(k0(), v3())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public <T extends B> T putInstance(Class<T> type, T value) { throw new UnsupportedOperationException(); } Object readResolve() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
} override fun priority( streamId: Int, streamDependency: Int, weight: Int, exclusive: Boolean, ) { throw UnsupportedOperationException() } override fun pushPromise( streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) { this.type = Http2.TYPE_PUSH_PROMISE
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final V forcePut(K key, V value) { throw new UnsupportedOperationException(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
public void testSet_unsupported() { assertThrows(UnsupportedOperationException.class, () -> getList().set(aValidIndex(), e3())); expectUnchanged(); } @CollectionSize.Require(ZERO) @ListFeature.Require(absent = SUPPORTS_SET) public void testSet_unsupportedByEmptyList() { try { getList().set(0, e3()); fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
})); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testComputeIfAbsent_unsupportedAbsent() { assertThrows( UnsupportedOperationException.class, () -> getMap() .computeIfAbsent( k3(), k -> { // allowed to be called
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
try { assertNull( "remove(notPresent) should return null or throw UnsupportedOperationException", getMap().remove(k3())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
assertThrows(UnsupportedOperationException.class, () -> getMap().replace(k0(), v0(), v3())); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_unsupportedWrongValue() { try { getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
assertThrows(UnsupportedOperationException.class, () -> getMap().replace(k0(), v0(), v3())); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_unsupportedWrongValue() { try { getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
return string || null; }-*/; static CommonPattern compilePattern(String pattern) { throw new UnsupportedOperationException(); } static boolean patternCompilerIsPcreLike() { throw new UnsupportedOperationException(); } private Platform() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 27 13:56:56 UTC 2024 - 2K bytes - Viewed (0)