Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for bob (0.05 sec)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(4, Iterables.indexOf(list, equalTo("sam")));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  2. 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
    public interface FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. android/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
    public abstract class FinalizableWeakReference<T> extends WeakReference<T>
        implements FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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
    public abstract class FinalizableWeakReference<T> extends WeakReference<T>
        implements FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(4, Iterables.indexOf(list, equalTo("sam")));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ComputationException.java

    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Wraps an exception that occurred during a computation.
     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ComputationException.java

    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Wraps an exception that occurred during a computation.
     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FunctionalEquivalence.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Equivalence applied on functional result.
     *
     * @author Bob Lee
     * @since 10.0
     */
    @GwtCompatible
    final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable {
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. 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
    public interface FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/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
    public abstract class FinalizableSoftReference<T> extends SoftReference<T>
        implements FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top