Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rehashIfNecessary (0.19 sec)

  1. guava/src/com/google/common/collect/HashBiMap.java

        }
        if (oldEntryForValue != null) {
          oldEntryForValue.prevInKeyInsertionOrder = null;
          oldEntryForValue.nextInKeyInsertionOrder = null;
        }
        rehashIfNecessary();
        return Maps.keyOrNull(oldEntryForValue);
      }
    
      private void rehashIfNecessary() {
        @Nullable BiEntry<K, V>[] oldKToV = hashTableKToV;
        if (Hashing.needsResizing(size, oldKToV.length, LOAD_FACTOR)) {
          int newTableSize = oldKToV.length * 2;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          succeedsInMultimap(newEntry, multimapHeaderEntry);
          hashTable[bucket] = newEntry;
          size++;
          modCount++;
          rehashIfNecessary();
          return true;
        }
    
        private void rehashIfNecessary() {
          if (Hashing.needsResizing(size, hashTable.length, VALUE_SET_LOAD_FACTOR)) {
            @SuppressWarnings("unchecked")
            ValueEntry<K, V>[] hashTable =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top