- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for fromEntryArray (0.09 seconds)
-
guava/src/com/google/common/collect/RegularImmutableBiMap.java
private final transient int mask; private final transient int hashCode; static <K, V> ImmutableBiMap<K, V> fromEntries(Entry<K, V>... entries) { return fromEntryArray(entries.length, entries); } static <K, V> ImmutableBiMap<K, V> fromEntryArray(int n, @Nullable Entry<K, V>[] entryArray) { checkPositionIndex(n, entryArray.length); int tableSize = closedTableSize(n, MAX_LOAD_FACTOR); int mask = tableSize - 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
// 'and' with an int to get a table index private final transient int mask; static <K, V> ImmutableMap<K, V> fromEntries(Entry<K, V>... entries) { return fromEntryArray(entries.length, entries, /* throwIfDuplicateKeys= */ true); } /** * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace
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) -
guava/src/com/google/common/collect/ImmutableBiMap.java
0, size, Ordering.from(valueComparator).onResultOf(Entry::getValue)); } entriesUsed = true; return RegularImmutableBiMap.fromEntryArray(size, entries); } } /** * Throws {@link UnsupportedOperationException}. This method is inherited from {@link * ImmutableMap.Builder}, but it does not make sense for bimaps. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
Ordering.from(valueComparator).onResultOf(Entry::getValue)); localEntries = (@Nullable Entry<K, V>[]) nonNullEntries; } entriesUsed = true; return RegularImmutableMap.fromEntryArray(localSize, localEntries, throwIfDuplicateKeys); } /** * Returns a newly-created immutable map. The iteration order of the returned map is the order
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)