- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createEntryArray (0.68 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
*/ @SuppressWarnings("nullness") Entry<K, V>[] entries = (n == entryArray.length) ? (Entry<K, V>[]) entryArray : createEntryArray(n); int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); @Nullable ImmutableMapEntry<K, V>[] table = createEntryArray(tableSize); int mask = tableSize - 1; // If duplicates are allowed, this IdentityHashMap will record the final Entry for each
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); int mask = tableSize - 1; @Nullable ImmutableMapEntry<K, V>[] keyTable = createEntryArray(tableSize); @Nullable ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); /* * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
* {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here. */ @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) { return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size]; } ImmutableMapEntry(K key, V value) { super(key, value); checkEntryNotNull(key, value); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)