- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for entryArray (0.06 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
* the entries in entryArray with its own entry objects (though they will have the same key/value * contents), and may take ownership of entryArray. */ static <K, V> ImmutableMap<K, V> fromEntryArray( int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) { checkPositionIndex(n, entryArray.length); if (n == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
checkPositionIndex(n, entryArray.length); 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); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY); switch (entryArray.length) { case 0: return of(); case 1: Entry<K, V> entry = entryArray[0]; return of(entry.getKey(), entry.getValue()); default: /* * The current implementation will end up using entryArray directly, though it will write
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY); switch (entryArray.length) { case 0: return of(); case 1: // requireNonNull is safe because the first `size` elements have been filled in. Entry<K, V> onlyEntry = requireNonNull(entryArray[0]); return of(onlyEntry.getKey(), onlyEntry.getValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0)