- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for entryArray (0.15 seconds)
-
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
entryArray[i] = makeImmutable(requireNonNull(entryArray[i])); K key = entryArray[i].getKey(); V value = entryArray[i].getValue(); V oldValue = delegateMap.put(key, value); if (oldValue != null) { if (throwIfDuplicateKeys) { throw conflictException("key", entryArray[i], entryArray[i].getKey() + "=" + oldValue); }
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) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
Map<K, V> forwardDelegate = Maps.newHashMapWithExpectedSize(n); Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n); for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in. Entry<K, V> e = RegularImmutableMap.makeImmutable(requireNonNull(entryArray[i])); entryArray[i] = e;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
} hashCode += hash ^ count; entryArray[index++] = newEntry; hashTable[bucket] = newEntry; size += count; } return hashFloodingDetected(hashTable) ? JdkBackedImmutableMultiset.create(asImmutableList(entryArray)) : new RegularImmutableMultiset<E>( entryArray, hashTable, Ints.saturatedCast(size), hashCode, null); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0)