- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 239 for have (0.13 sec)
-
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
return 0; case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } } }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
} // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = RANDOM_SOURCE.nextLong();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); } /** Constructs a listenable future with a value available after the latch has counted down. */ protected abstract <V> ListenableFuture<V> createListenableFuture(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 18:30:30 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
return 0; case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } } }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/base/StandardSystemProperty.java
* confirmed whether it is available under older versions. * <li>{@link #JAVA_COMPILER}, while still listed as required as of Java 15, is typically not * available even under older version. * <li>Any property may be cleared through APIs like {@link System#clearProperty}. * <li>Unusual environments like GWT may have their own special handling of system properties.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
* * <ul> * <li>UNORDERED: no order is guaranteed. * <li>STABLE: ordering is guaranteed to follow a pattern that won't change between releases. * Some methods may have stronger guarantees. * <li>INSERTION: insertion ordering is guaranteed. * <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
import junit.framework.TestCase; /** * Basher test for {@link ConcurrentHashMultiset}: start a bunch of threads, have each of them do * operations at random. Each thread keeps track of the per-key deltas that it's directly * responsible for; after all threads have completed, we sum the per-key deltas and compare to the * existing multiset values. * * @author mike nonemacher */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* ValueGraphBuilder}. * * <p>The returned builder can be used for populating an {@link ImmutableValueGraph}. * * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link * ElementOrder#stable()}, regardless of the value that was set in this builder. * * @since 28.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jun 03 01:21:31 GMT 2022 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java
* versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function) * FluentFuture.catching} family of methods. Those versions have slightly different signatures. */ @GwtCompatible(emulated = true) @J2ktIncompatible // Super-sourced @ElementTypesAreNonnullByDefault abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 1.5K bytes - Viewed (0)