- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 131 for it (0.28 sec)
-
android/guava/src/com/google/common/base/Preconditions.java
* UnsupportedOperationException} in the situations they are intended for. * * <h3>Non-preconditions</h3> * * <p>It is of course possible to use the methods of this class to check for invalid conditions * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is * misleading to future readers of the code and of stack traces. See <a
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-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
Iterator<Integer> it = mmHeap.iterator(); assertEquals((Integer) 1, it.next()); assertEquals((Integer) 20, it.next()); assertEquals((Integer) 100, it.next()); assertEquals((Integer) 2, it.next()); it.remove(); assertFalse(mmHeap.contains(2)); assertTrue(it.hasNext()); assertEquals((Integer) 3, it.next()); assertTrue(it.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
@ElementTypesAreNonnullByDefault @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"}) @IgnoreJRERequirement // used only from APIs with Java 8 types in them // (not used publicly by guava-android as of this writing, but we include it in the jar as a test) final class TableCollectors { static <T extends @Nullable Object, R, C, V> Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable( Function<? super T, ? extends R> rowFunction,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} remaining--; /* * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize * `element` above. After that, we never clear it. */ return requireNonNull(element); } }; } @LazyInit @CheckForNull private transient ImmutableList<E> asList; @Override public ImmutableList<E> asList() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} else if (obj instanceof Failure) { throw new ExecutionException(((Failure) obj).exception); } else if (obj == NULL) { /* * It's safe to return null because we would only have stored it in the first place if it were * a valid value for V. */ return uncheckedNull(); } else { @SuppressWarnings("unchecked") // this is the only other option V asV = (V) obj;
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/CompactLinkedHashMap.java
CompactLinkedHashMap<K, V> create() { return new CompactLinkedHashMap<>(); } /** * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures. * * @param expectedSize the number of elements you expect to add to the returned set
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /* * The actual collections that we pass as inputs will be wrappers around these, so * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /* * The actual collections that we pass as inputs will be wrappers around these, so * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* this type either contains a non-null reference, or contains nothing (in which case we say that * the reference is "absent"); it is never said to "contain {@code null}". * * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T} * reference. It allows you to represent "a {@code T} that must be present" and a "a {@code T} that
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* note that the execution order of all listeners is ultimately chosen by the implementations of * the supplied executors. * * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent * to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 6.9K bytes - Viewed (0)