- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 304 for UnsupportedOperationException (1.01 sec)
-
guava/src/com/google/common/cache/CacheLoader.java
/** * Exception thrown by {@code loadAll()} to indicate that it is not supported. * * @since 19.0 */ public static final class UnsupportedLoadingOperationException extends UnsupportedOperationException { // Package-private because this should only be thrown by loadAll() when it is not overridden. // Cache implementors may want to catch it but should not need to be able to throw it.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
stage: Stage, performanceTestCoverage: PerformanceTestCoverage, bucketIndex: Int, ): PerformanceTest fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException() } data class TestProjectDuration( val testProject: String, val scenarioDurations: List<PerformanceTestDuration>, ) { val totalTime: Int = scenarioDurations.sumOf { it.durationInMs }Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
public int previousIndex() { return nextIndex - 1; } @Override public void set(Entry<K, V> e) { throw new UnsupportedOperationException(); } @Override public void add(Entry<K, V> e) { throw new UnsupportedOperationException(); } void setValue(@ParametricNullness V value) { checkState(current != null); current.setValue(value); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testAtMostOneSeparator() { BaseEncoding separated = base64().withSeparator("\n", 3); assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4)); } public void testBase64() { // The following test vectors are specified in RFC 4648 itself testEncodingWithSeparators(base64(), "", "");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
public Object remove(final Object key) { return getProperties().remove(key); } @Override public void save(final OutputStream out, final String comments) { throw new UnsupportedOperationException("Unsupported operation."); } @Override public Object setProperty(final String key, final String value) { return getProperties().setProperty(key, value); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
* * <p>All methods that modify the table are optional, and the views returned by the table may or may * not be modifiable. When modification isn't supported, those methods will throw an {@link * UnsupportedOperationException}. * * <h3>Implementations</h3> * * <ul> * <li>{@link ImmutableTable} * <li>{@link HashBasedTable} * <li>{@link TreeBasedTable} * <li>{@link ArrayTable}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* @param predicate a predicate that determines whether an element should be removed * @return {@code true} if any elements were removed from the iterable * @throws UnsupportedOperationException if the iterable does not support {@code remove()}. * @since 2.0 */ @CanIgnoreReturnValue public static <T extends @Nullable Object> boolean removeIf(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// TODO(cpovirk): should we be including other methods from the shim here and // in ImmutableSortedMap? @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() { throw new UnsupportedOperationException(); } private static final Comparator<?> NATURAL_ORDER = Ordering.natural(); // TODO(b/345814817): Move this to RegularImmutableSortedSet?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
try { notifications.clear(); // If this succeeds, the implementation allows modification assertTrue(notifications.isEmpty()); } catch (UnsupportedOperationException e) { // If this throws, the implementation returned an immutable list assertEquals(2, notifications.size()); } } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
Entry<String, Collection<Integer>> barEntry = entries.next(); assertEquals("bar", barEntry.getKey()); assertThat(barEntry.getValue()).containsExactly(1, 3).inOrder(); assertThrows( UnsupportedOperationException.class, () -> barEntry.setValue(Arrays.<Integer>asList())); entries.remove(); // clear Entry<String, Collection<Integer>> fooEntry = entries.next(); assertEquals("foo", fooEntry.getKey());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0)