- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ImmutableMapEntry (0.98 sec)
-
guava/src/com/google/common/collect/ImmutableMapEntry.java
* * <p>This base implementation has no key or value pointers, so instances of ImmutableMapEntry (but * not its subclasses) can be reused when copied from one ImmutableMap to another. * * @author Louis Wasserman */ @GwtIncompatible // unnecessary class ImmutableMapEntry<K, V> extends SimpleImmutableEntry<K, V> { /** * Creates an {@code ImmutableMapEntry} array to hold parameterized entries. The result must never
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
null, null, (Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, 0, 0); static final double MAX_LOAD_FACTOR = 1.2; private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] keyTable; private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] valueTable; @VisibleForTesting final transient Entry<K, V>[] entries; private final transient int mask; private final transient int hashCode;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0)