- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 1,790 for threw (0.02 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
if (conflict != null) { broken = entry; // We're definitely going to throw, but we'll try to keep the BiMap in an internally // consistent state by removing the bad entry. itr.remove(); } } if (broken != null) { throw new IllegalArgumentException("value already present: " + broken.getValue()); } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 14.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
override fun onResponse( call: Call, response: Response, ) { try { Thread.sleep(500) } catch (e: InterruptedException) { throw AssertionError() } assertFailsWith<IOException> { response.body.source().readUtf8() }.also { expected -> exceptionRef.set(expected) latch.countDown()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl); } // We need to ensure that at least 4 bytes have been put into the hasher or else // Hasher#hash will throw an ISE. int intToPut = random.nextInt(); for (Hasher hasher : sinksAndControl) { hasher.putInt(intToPut); } for (Sink sink : sinks) { HashCode unused = sink.hash();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
@Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Absent.java
return (Optional<T>) INSTANCE; } private Absent() {} @Override public boolean isPresent() { return false; } @Override public T get() { throw new IllegalStateException("Optional.get() cannot be called on an absent value"); } @Override public T or(T defaultValue) { return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
@Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java
@Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May")); } @Override public Map<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
} } catch (MalformedURLException e) { AssertionError error = new AssertionError("malformed class path entry: " + entry); error.initCause(e); throw error; } } return urls.build().toArray(new URL[0]); } /** Returns the URLs in the class path. */ static URL[] getClassPathUrls() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 13 20:26:15 UTC 2017 - 2.3K bytes - Viewed (0)