- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Kass (2.37 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a key of type {@code Comparable} to use {@link * ImmutableSortedMap#of(Comparable, Object)}.</b> */ @DoNotCall("Pass a key of type Comparable") @Deprecated public static <K, V> ImmutableSortedMap<K, V> of(K k1, V v1) { throw new UnsupportedOperationException();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
list.add("a"); list.add("b"); Iterator<String> iterator = list.iterator(); try { get(iterator, -1, "c"); fail(); } catch (IndexOutOfBoundsException expected) { // pass } assertTrue(iterator.hasNext()); } public void testAdvance_basic() { List<String> list = newArrayList(); list.add("a"); list.add("b");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* take a principled stand on this, but the amount of such code is simply overwhelming. To avoid * creating a lot of compile errors that users would not find to be informative, we're giving in * and allowing callers to pass arguments that a nullness checker believes could be null. * * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks. */ /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a key of type {@code Comparable} to use {@link * ImmutableSortedMap#of(Comparable, Object)}.</b> */ @DoNotCall("Pass a key of type Comparable") @Deprecated public static <K, V> ImmutableSortedMap<K, V> of(K k1, V v1) { throw new UnsupportedOperationException();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// We unwind setFuture specifically to avoid StackOverflowErrors in the case of long // chains of SetFutures // Handling this special case is important because there is no way to pass an executor to // setFuture, so a user couldn't break the chain by doing this themselves. It is also // potentially common if someone writes a recursive Futures.transformAsync transformer.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * <p><b>Note:</b> The returned view performs slightly better when {@code set1} is the smaller of * the two sets. If you have reason to believe one of your sets will generally be smaller than the * other, pass it first. Unfortunately, since this method sets the generic type of the returned * set based on the type of the first set passed, this could in rare cases force you to make a * cast, for example: * * <pre>{@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
list.add("a"); list.add("b"); Iterator<String> iterator = list.iterator(); try { get(iterator, -1, "c"); fail(); } catch (IndexOutOfBoundsException expected) { // pass } assertTrue(iterator.hasNext()); } public void testAdvance_basic() { List<String> list = newArrayList(); list.add("a"); list.add("b");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* @Nullable X>, then users might pass a TypeParameter<Y>, where Y is a subtype of X, while still * passing a TypeToken<X>. This would be invalid. Maybe we could accept a TypeParameter<@PolyNull * X> if we support such a thing? It would be weird or misleading for users to be able to pass * `new TypeParameter<@Nullable T>() {}` and have it act as a plain `TypeParameter<T>`, but
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable); Future<?> scheduled = executorService.schedule(task, delay, timeUnit); /* * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't * interrupt a second time after the interruption performed by TrustedListenableFutureTask. */ task.addListener(() -> scheduled.cancel(false), directExecutor());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* take a principled stand on this, but the amount of such code is simply overwhelming. To avoid * creating a lot of compile errors that users would not find to be informative, we're giving in * and allowing callers to pass arguments that a nullness checker believes could be null. * * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks. */ /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0)