- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 221 for UnsupportedOperationException (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable Entry<K, V> pollFirstEntry() { throw new UnsupportedOperationException(); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 52.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
} @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_unsupportedAllPresent() { assertThrows( UnsupportedOperationException.class, () -> getList().addAll(0, MinimalCollection.of(e0()))); expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void add(int index, E element) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException alwaysCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
} /** * Not supported. Use {@link #eraseAll} instead. * * @throws UnsupportedOperationException always * @deprecated Use {@link #eraseAll} */ @DoNotCall("Always throws UnsupportedOperationException") @Override @Deprecated public void clear() { throw new UnsupportedOperationException(); } /** Associates the value {@code null} with every pair of allowed row and column keys. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentDifferentValue() { try { getMap().putIfAbsent(k0(), v3()); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
internal val delegate = QueueDispatcher() @Throws(InterruptedException::class) override fun dispatch(request: RecordedRequest): MockResponse = throw UnsupportedOperationException("unexpected call") override fun peek(): MockResponse = throw UnsupportedOperationException("unexpected call") fun enqueueResponse(response: MockResponse) { delegate.enqueue(response.wrap()) } override fun shutdown() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java
public int getPriority() { return 1; } @Override public void setName(String name) { throw new UnsupportedOperationException(); } @Override public void setPriority(int priority) { throw new UnsupportedOperationException(); } @Override public String getDescription() { return "Reports incorrect usages of integration test fixtures"; }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable V forcePut(K key, V value) { throw new UnsupportedOperationException(); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 22.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); assertThrows(UnsupportedOperationException.class, () -> map.put("b", "2")); assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0)