- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 404 for UnsupportedOperationException (0.3 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = network.nodes(); UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1); assertThat(network.nodes()).containsExactlyElementsIn(nodes); } @Override @Test
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
public void testReplaceValuesRemoveNotSupported() { List<V> values = Collections.singletonList(v3()); try { multimap().replaceValues(k0(), values); fail("Expected UnsupportedOperationException"); } catch (UnsupportedOperationException expected) { // success } } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceValuesPutNotSupported() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
} public final boolean add(E e) { throw new UnsupportedOperationException(); } public final boolean remove(@Nullable Object object) { throw new UnsupportedOperationException(); } public final boolean addAll(Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } public final boolean removeAll(Collection<?> oldElements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/UnmodifiableListIterator.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void add(@ParametricNullness E e) { throw new UnsupportedOperationException(); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 2K bytes - Viewed (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")
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean replace(K key, V oldValue, V newValue) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (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 {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
throw new UnsupportedOperationException("Cannot change the version information for an attached artifact." + " It is derived from the main artifact."); } public String getBaseVersion() { return parent.getBaseVersion(); } public void setBaseVersion(String baseVersion) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } entry = unmod.firstEntry(); try { entry.setValue("four"); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } entry = unmod.lastEntry(); try { entry.setValue("four"); fail("UnsupportedOperationException expected");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
android/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")
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 24.7K bytes - Viewed (0)