- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ImmutableMapEntry (0.16 sec)
-
guava/src/com/google/common/collect/ImmutableMapEntry.java
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); } ImmutableMapEntry(ImmutableMapEntry<K, V> contents) { super(contents.getKey(), contents.getValue());
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
if (duplicates.containsKey(key)) { V value = duplicates.get(key); if (value == null) { continue; // delete this duplicate } entry = new ImmutableMapEntry<>(key, value); duplicates.put(key, null); } newEntryArray[outI++] = entry; } entryArray = newEntryArray; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * <p>A call to {@link Entry#setValue} on the returned entry will always throw {@link * UnsupportedOperationException}. */ static <K, V> Entry<K, V> entryOf(K key, V value) { return new ImmutableMapEntry<>(key, value); } /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder} constructor. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0)