Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 418 for tree (0.34 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      /** Test class that returns true if the test object is null */
      private static class InvalidEqualsNullObject {
    
        @Override
        public boolean equals(@Nullable Object o) {
          return o == this || o == null;
        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      /** Test class that returns true even if the test object is of the wrong class */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        private final int size;
    
        ImmutableArrayMap(int size) {
          this.size = size;
        }
    
        abstract ImmutableMap<K, Integer> keyToIndex();
    
        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A hash-based implementation of {@link ImmutableMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      private static final byte ABSENT = -1;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMaker.java

     * WeakHashMap} uses {@link Object#equals}.
     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class MapMaker {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
      private static final int DEFAULT_CONCURRENCY_LEVEL = 4;
    
      static final int UNSET_INT = -1;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      @LazyInit @CheckForNull private transient ImmutableRangeSet<C> complement;
    
      private final class ComplementRanges extends ImmutableList<Range<C>> {
        // True if the "positive" range set is empty or bounded below.
        private final boolean positiveBoundedBelow;
    
        // True if the "positive" range set is empty or bounded above.
        private final boolean positiveBoundedAbove;
    
        private final int size;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * floorEntry} to forward to this implementation.
       */
      @CheckForNull
      protected Entry<K, V> standardFloorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * floorEntry} to forward to this implementation.
       */
      @CheckForNull
      protected Entry<K, V> standardFloorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

    /**
     * A {@link Set} whose contents will never change, with many other important properties detailed at
     * {@link ImmutableCollection}.
     *
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       *
       * @param timeout the maximum time to wait for the permit. Negative values are treated as zero.
       * @param unit the time unit of the timeout argument
       * @return {@code true} if the permit was acquired, {@code false} otherwise
       * @throws IllegalArgumentException if the requested number of permits is negative or zero
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
      // We can include the non-BMP fix here because Hashing.goodFastHash stresses that the hash is a
      // temporary-use one. Therefore it shouldn't be persisted.
      static final HashFunction GOOD_FAST_HASH_32 =
          new Murmur3_32HashFunction(Hashing.GOOD_FAST_HASH_SEED, /* supplementaryPlaneFix= */ true);
    
      private static final int CHUNK_SIZE = 4;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
Back to top