Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for JdkBackedImmutableMap (0.18 seconds)

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

            }
            newEntryArray[outI++] = entry;
          }
          entryArray = newEntryArray;
        }
        return new JdkBackedImmutableMap<>(delegateMap, asImmutableList(entryArray, n));
      }
    
      private final transient Map<K, V> delegateMap;
      private final transient ImmutableList<Entry<K, V>> entries;
    
      JdkBackedImmutableMap(Map<K, V> delegateMap, ImmutableList<Entry<K, V>> entries) {
        this.delegateMap = delegateMap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

        } catch (BucketOverflowException e) {
          // probable hash flooding attack, fall back to j.u.HM based implementation and use its
          // implementation of hash flooding protection
          return JdkBackedImmutableMap.create(n, entryArray, throwIfDuplicateKeys);
        }
      }
    
      private static <K, V> ImmutableMap<K, V> fromEntryArrayCheckingBucketOverflow(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

              Entry<K, V> onlyEntry = requireNonNull(entries[0]);
              return of(onlyEntry.getKey(), onlyEntry.getValue());
            default:
              entriesUsed = true;
              return JdkBackedImmutableMap.create(size, entries, /* throwIfDuplicateKeys= */ true);
          }
        }
    
        /**
         * Scans the first {@code size} elements of {@code entries} looking for duplicate keys. If
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
Back to Top