- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for Bob (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack"))); } public void testIndexOf_withDuplicates() { List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam"); assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary"))); assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableWeakReference.java
* Weak reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class FinalizableWeakReference<T> extends WeakReference<T> implements FinalizableReference { /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReference.java
import com.google.errorprone.annotations.DoNotMock; /** * Implemented by references that have code to run after garbage collection of their referents. * * @see FinalizableReferenceQueue * @author Bob Lee * @since 2.0 */ @DoNotMock("Use an instance of one of the Finalizable*Reference classes") @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public interface FinalizableReference { /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableSoftReference.java
* Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class FinalizableSoftReference<T> extends SoftReference<T> implements FinalizableReference { /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizablePhantomReference.java
* after the garbage collector reclaims the referent. This is a simpler alternative to using a * {@link ReferenceQueue}. * * <p>Unlike a normal phantom reference, this reference will be cleared automatically. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class FinalizablePhantomReference<T> extends PhantomReference<T> implements FinalizableReference { /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/base/FunctionalEquivalence.java
import java.io.Serializable; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Equivalence applied on functional result. * * @author Bob Lee * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable { private static final long serialVersionUID = 0;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 01 19:48:29 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
* 1-bit characteristics. * * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html. */ static void checkNo2BitCharacteristics(HashFunction function) { Random rand = new Random(0); int keyBits = 32;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testIndexOf_consumedDataNoMatch() { Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator(); assertEquals(-1, Iterators.indexOf(iterator, Predicates.equalTo("bob"))); assertFalse(iterator.hasNext()); } @SuppressWarnings("deprecation") public void testUnmodifiableIteratorShortCircuit() { Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
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)