- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ImmutableMapEntry (0.12 sec)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry, K key, V value) { boolean reusable = entry instanceof ImmutableMapEntry && ((ImmutableMapEntry<K, V>) entry).isReusable(); return reusable ? (ImmutableMapEntry<K, V>) entry : new ImmutableMapEntry<K, V>(key, value); } /** Makes an entry usable internally by a new ImmutableMap. */
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
static final double MAX_LOAD_FACTOR = 1.2; @CheckForNull private final transient @Nullable ImmutableMapEntry<K, V>[] keyTable; @CheckForNull private final transient @Nullable ImmutableMapEntry<K, V>[] valueTable; @VisibleForTesting final transient Entry<K, V>[] entries; private final transient int mask; private final transient int hashCode;
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/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. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0)