Package com.google.common.collect
Class ImmutableEntry<K,V>
- java.lang.Object
-
- com.google.common.collect.AbstractMapEntry<K,V>
-
- com.google.common.collect.ImmutableEntry<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map.Entry<K,V>
- Direct Known Subclasses:
HashBiMap.BiEntry
,ImmutableMapEntry
,LinkedHashMultimap.ValueEntry
@GwtCompatible(serializable=true) class ImmutableEntry<K,V> extends AbstractMapEntry<K,V> implements java.io.Serializable
- See Also:
Maps.immutableEntry(Object, Object)
-
-
Field Summary
Fields Modifier and Type Field Description (package private) K
key
private static long
serialVersionUID
(package private) V
value
-
Constructor Summary
Constructors Constructor Description ImmutableEntry(K key, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
V
getValue()
V
setValue(V value)
-
Methods inherited from class com.google.common.collect.AbstractMapEntry
equals, hashCode, toString
-
-
-
-
Field Detail
-
key
final K key
-
value
final V value
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-