Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expandedCapacity (0.19 sec)

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

       */
      private void ensureCapacity(int minCapacity) {
        if (nextInBucketKToV.length < minCapacity) {
          int oldCapacity = nextInBucketKToV.length;
          int newCapacity = ImmutableCollection.Builder.expandedCapacity(oldCapacity, minCapacity);
    
          keys = Arrays.copyOf(keys, newCapacity);
          values = Arrays.copyOf(values, newCapacity);
          nextInBucketKToV = expandAndFillWithAbsent(nextInBucketKToV, newCapacity);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
Back to top