- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Player (0.05 sec)
-
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); @Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // right null is caught later if (left == right) { return 0; } return ((Comparable<Object>) right).compareTo(left); } @Override public <S extends Comparable<?>> Ordering<S> reverse() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
double hit = req - misses.get(); // Currently, this is going into /dev/null, but I'll fix that System.out.println("hit rate: " + hit / req); } // for proper distributions later: // import JSci.maths.statistics.ProbabilityDistribution; // int key = (int) dist.inverse(random.nextDouble());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an * iterator (used as the target iterator). * * <p>This IteratorTester makes copies of the master so that it can later verify that {@link * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code * #remove()}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()), // Hash functions found in //javatests for comparing against current implementation of CityHash. // These can probably be removed sooner or later. ; private final HashFunction hashFunction; private HashFunctionEnum(HashFunction hashFunction) { this.hashFunction = hashFunction; } HashFunction getHashFunction() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
/** * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no * requirement that this data be complete enough to fully reconstitute the object later. * * @since 12.0 (in Guava 11.0, {@code PrimitiveSink} was named {@code Sink}) */ void funnel(@ParametricNullness T from, PrimitiveSink into);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
@ElementTypesAreNonnullByDefault public final class SettableFuture<V extends @Nullable Object> extends AbstractFuture.TrustedFuture<V> { /** * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. */ public static <V extends @Nullable Object> SettableFuture<V> create() { return new SettableFuture<>(); } @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interner.java
* and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@code * intern(a)} is permitted to return one instance now and a different instance later if the * original interned instance was garbage-collected. * * <p><b>Warning:</b> do not use with mutable objects. * * @throws NullPointerException if {@code sample} is null */ E intern(E sample);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ReverseNaturalOrdering.java
static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); @Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // right null is caught later if (left == right) { return 0; } return ((Comparable<Object>) right).compareTo(left); } @Override public <S extends Comparable<?>> Ordering<S> reverse() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2.9K bytes - Viewed (0)