Package com.google.common.collect
Class ImmutableMapEntry.NonTerminalImmutableMapEntry<K,V>
java.lang.Object
com.google.common.collect.AbstractMapEntry<K,V>
com.google.common.collect.ImmutableEntry<K,V>
com.google.common.collect.ImmutableMapEntry<K,V>
com.google.common.collect.ImmutableMapEntry.NonTerminalImmutableMapEntry<K,V>
- All Implemented Interfaces:
Serializable
,Map.Entry<K,
V>
- Direct Known Subclasses:
ImmutableMapEntry.NonTerminalImmutableBiMapEntry
- Enclosing class:
ImmutableMapEntry<K,
V>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableMapEntry
ImmutableMapEntry.NonTerminalImmutableBiMapEntry<K,
V>, ImmutableMapEntry.NonTerminalImmutableMapEntry<K, V> -
Field Summary
FieldsFields inherited from class com.google.common.collect.ImmutableEntry
key, value
-
Constructor Summary
ConstructorsConstructorDescriptionNonTerminalImmutableMapEntry
(K key, V value, ImmutableMapEntry<K, V> nextInKeyBucket) -
Method Summary
Modifier and TypeMethodDescription(package private) final ImmutableMapEntry
<K, V> (package private) final boolean
Returns true if this entry has no bucket links and can safely be reused as a terminal entry in a bucket in another map.Methods inherited from class com.google.common.collect.ImmutableMapEntry
createEntryArray, getNextInValueBucket
Methods inherited from class com.google.common.collect.ImmutableEntry
getKey, getValue, setValue
Methods inherited from class com.google.common.collect.AbstractMapEntry
equals, hashCode, toString
-
Field Details
-
nextInKeyBucket
-
-
Constructor Details
-
NonTerminalImmutableMapEntry
NonTerminalImmutableMapEntry(K key, V value, @CheckForNull ImmutableMapEntry<K, V> nextInKeyBucket)
-
-
Method Details
-
getNextInKeyBucket
- Overrides:
getNextInKeyBucket
in classImmutableMapEntry<K,
V>
-
isReusable
final boolean isReusable()Description copied from class:ImmutableMapEntry
Returns true if this entry has no bucket links and can safely be reused as a terminal entry in a bucket in another map.- Overrides:
isReusable
in classImmutableMapEntry<K,
V>
-