Package com.google.common.collect
Class LinkedHashMultimap.ValueEntry<K,V>
java.lang.Object
com.google.common.collect.AbstractMapEntry<K,V>
com.google.common.collect.ImmutableEntry<K,V>
com.google.common.collect.LinkedHashMultimap.ValueEntry<K,V>
- All Implemented Interfaces:
LinkedHashMultimap.ValueSetLink<K,,V> Serializable,Map.Entry<K,V>
- Enclosing class:
- LinkedHashMultimap<K,
V>
static final class LinkedHashMultimap.ValueEntry<K,V>
extends ImmutableEntry<K,V>
implements LinkedHashMultimap.ValueSetLink<K,V>
LinkedHashMultimap entries are in no less than three coexisting linked lists: a bucket in the
hash table for a
Set<V> associated with a key, the linked list of insertion-ordered
entries in that Set<V>, and the linked list of entries in the LinkedHashMultimap as a
whole.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) LinkedHashMultimap.ValueEntry<K,V> (package private) LinkedHashMultimap.ValueEntry<K,V> (package private) LinkedHashMultimap.ValueSetLink<K,V> (package private) final int(package private) LinkedHashMultimap.ValueEntry<K,V> (package private) LinkedHashMultimap.ValueSetLink<K,V> Fields inherited from class com.google.common.collect.ImmutableEntry
key, value -
Constructor Summary
ConstructorsConstructorDescriptionValueEntry(K key, V value, int smearedValueHash, LinkedHashMultimap.ValueEntry<K, V> nextInValueBucket) -
Method Summary
Modifier and TypeMethodDescription(package private) booleanmatchesValue(Object v, int smearedVHash) (package private) static <K,V> LinkedHashMultimap.ValueEntry<K, V> voidsetPredecessorInMultimap(LinkedHashMultimap.ValueEntry<K, V> multimapPredecessor) voidvoidsetSuccessorInMultimap(LinkedHashMultimap.ValueEntry<K, V> multimapSuccessor) voidMethods inherited from class com.google.common.collect.ImmutableEntry
getKey, getValue, setValueMethods inherited from class com.google.common.collect.AbstractMapEntry
equals, hashCode, toString
-
Field Details
-
smearedValueHash
final int smearedValueHash -
nextInValueBucket
-
predecessorInValueSet
-
successorInValueSet
-
predecessorInMultimap
-
successorInMultimap
-
-
Constructor Details
-
ValueEntry
ValueEntry(K key, V value, int smearedValueHash, @CheckForNull LinkedHashMultimap.ValueEntry<K, V> nextInValueBucket)
-
-
Method Details
-
newHeader
-
matchesValue
-
getPredecessorInValueSet
- Specified by:
getPredecessorInValueSetin interfaceLinkedHashMultimap.ValueSetLink<K,V>
-
getSuccessorInValueSet
- Specified by:
getSuccessorInValueSetin interfaceLinkedHashMultimap.ValueSetLink<K,V>
-
setPredecessorInValueSet
- Specified by:
setPredecessorInValueSetin interfaceLinkedHashMultimap.ValueSetLink<K,V>
-
setSuccessorInValueSet
- Specified by:
setSuccessorInValueSetin interfaceLinkedHashMultimap.ValueSetLink<K,V>
-
getPredecessorInMultimap
-
getSuccessorInMultimap
-
setSuccessorInMultimap
-
setPredecessorInMultimap
-