Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CompactHashSet (0.44 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

      /** Constructs a new empty instance of {@code CompactHashSet}. */
      CompactHashSet() {
        init(CompactHashing.DEFAULT_SIZE);
      }
    
      /**
       * Constructs a new instance of {@code CompactHashSet} with the specified capacity.
       *
       * @param expectedSize the initial capacity of this {@code CompactHashSet}.
       */
      CompactHashSet(int expectedSize) {
        init(expectedSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Platform.java

      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return CompactHashSet.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered set based on a hash
       * table.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Platform.java

       * Returns the platform preferred set implementation that preserves insertion order when used only
       * for insertions.
       */
      static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() {
        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    final class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
      /** Creates an empty {@code CompactLinkedHashSet} instance. */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() {
        return new CompactLinkedHashSet<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top