Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Capacity (0.26 sec)

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

         * ImmutableSet#builder}.
         */
        public Builder() {
          super(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          super(capacity);
          this.hashTable = new @Nullable Object[chooseTableSize(capacity)];
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSet}. If the {@code ImmutableSet} already
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

         */
        @CheckForNull private SetBuilderImpl<E> impl;
        boolean forceCopy;
    
        public Builder() {
          this(0);
        }
    
        Builder(int capacity) {
          if (capacity > 0) {
            impl = new RegularSetBuilderImpl<>(capacity);
          } else {
            impl = EmptySetBuilderImpl.instance();
          }
        }
    
        Builder(@SuppressWarnings("unused") boolean subclass) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top