Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for trimToSize (0.04 sec)

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

            return value(entry);
          }
        };
      }
    
      /**
       * Ensures that this {@code CompactHashMap} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
        if (needsAllocArrays()) {
          return;
        }
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          Map<K, V> newDelegate = createHashFloodingResistantDelegate(size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
          }
          this.table = table;
        }
    
        @Override
        public boolean matches(char c) {
          return table.get(c);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
Back to top