- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 63 for Slavin (0.42 sec)
-
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change * the return type. For this case, we provide a more expensive workaround in {@code * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* returns. This method may be useful when testing the garbage collection mechanism itself, or * inhibiting a spontaneous GC initiation in subsequent code. * * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization * processing and may run concurrently, for example, if the JVM flag {@code * -XX:+ExplicitGCInvokesConcurrent} is used. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* considered "compiled comments." * <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still * recommend using our {@link VerifyException} exception type. Throwing a plain {@link * RuntimeException} is frowned upon. * <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* However, we don't expose currentFuture to users, so they can't attach listeners. And the * Future might not even be a ListenableFuture, just a plain Future. That said, similar * problems can exist with methods like FutureTask.done(), not to mention slow calls to * Thread.interrupt() (as discussed in InterruptibleTask). At the end of the day, it's
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * 1. We'll want to use something like @PolyNull once we can make that work for the various * platforms we target. * * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} /* * Tests that we workaround GWT bug #3621 (or that it is already fixed). * * A call to of() with a parameter that is not a plain Object[] (here, * Interface[]) creates a RegularImmutableSortedSet backed by an array of that * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46.1K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
return JavaDigit.INSTANCE; } /** * Determines whether a character is a BMP letter according to {@linkplain * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}. * * @deprecated Most letters are supplementary characters; see the class documentation.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* 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 * hopefully no one would do that, anyway. See also the comment on TypeParameter itself. * * TODO(cpovirk): Elaborate on this / merge with other comment? */
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-tests/test/com/google/common/collect/SortedIterablesTest.java
public void testSameComparator() { assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set. if (Maps.newTreeMap().keySet() instanceof SortedSet) { assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); } assertTrue(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too * strict, use {@link #reserialize}.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 4.1K bytes - Viewed (0)