@GwtIncompatible(value="unnecessary") abstract class ImmutableMapEntry<K,V> extends ImmutableEntry<K,V>
Map.Entry for ImmutableMap that adds extra methods to traverse
hash buckets for the key and the value. This allows reuse in RegularImmutableMap and
RegularImmutableBiMap, which don't have to recopy the entries created by their
Builder implementations.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ImmutableMapEntry.TerminalEntry<K,V> |
key, value| Constructor and Description |
|---|
ImmutableMapEntry(ImmutableMapEntry<K,V> contents) |
ImmutableMapEntry(K key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract ImmutableMapEntry<K,V> |
getNextInKeyBucket() |
(package private) abstract ImmutableMapEntry<K,V> |
getNextInValueBucket() |
getKey, getValue, setValueequals, hashCode, toStringImmutableMapEntry(ImmutableMapEntry<K,V> contents)
@Nullable abstract ImmutableMapEntry<K,V> getNextInKeyBucket()
@Nullable abstract ImmutableMapEntry<K,V> getNextInValueBucket()