- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 420 for UnsupportedOperationException (0.29 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
@Override public ImmutableSet<V> values() { return inverse().keySet(); } public final @Nullable V forcePut(K key, V value) { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
if (!iterator.hasNext()) { iterator = iterable.iterator(); } return iterator.next(); } @Override public void remove() { throw new UnsupportedOperationException(); } }; } static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) { for (int i = 0; i < position; i++) { iterator.next(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
i = inc(i); } count = 0; putIndex = 0; takeIndex = 0; } finally { monitor.leave(); } } /** * @throws UnsupportedOperationException {@inheritDoc} * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} */ @CanIgnoreReturnValue @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(asList(b, c), copyToList(sortedMultiset.entrySet())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testPollFirstUnsupported() { assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry()); } @CollectionSize.Require(SEVERAL) public void testLower() { resetWithHole();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
* (might fail some JDKs). * * <p>See <a href="https://github.com/google/guava/issues/2887">Throwables#lazyStackTrace throws * UnsupportedOperationException</a>. */ @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static @Nullable Method getSizeMethod(Object jla) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
* (might fail some JDKs). * * <p>See <a href="https://github.com/google/guava/issues/2887">Throwables#lazyStackTrace throws * UnsupportedOperationException</a>. */ @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static @Nullable Method getSizeMethod(Object jla) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
throw new IllegalArgumentException(); } @Override public Integer next() { // Wrong exception type. throw new UnsupportedOperationException(); } @Override public boolean hasNext() { return false; } }; } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (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 }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0)