Package com.linkedin.alpini.base.misc
Class ImmutableMapEntry<K,V>
- java.lang.Object
-
- com.linkedin.alpini.base.misc.Pair<K,V>
-
- com.linkedin.alpini.base.misc.ImmutableMapEntry<K,V>
-
-
Constructor Summary
Constructors Constructor Description ImmutableMapEntry(K key, V value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <K,V>
java.util.Map.Entry<K,V>entry(K key, V value)
K
getKey()
V
getValue()
static <K,V>
ImmutableMapEntry<K,V>make(java.util.Map.Entry<K,V> entry)
static <K,V>
ImmutableMapEntry<K,V>make(K key, V value)
V
setValue(V value)
-
Methods inherited from class com.linkedin.alpini.base.misc.Pair
array, equals, getFirst, getSecond, hashCode, toString
-
-
-
-
Method Detail
-
entry
public static <K,V> java.util.Map.Entry<K,V> entry(K key, V value)
-
make
public static <K,V> ImmutableMapEntry<K,V> make(K key, V value)
-
make
public static <K,V> ImmutableMapEntry<K,V> make(@Nonnull java.util.Map.Entry<K,V> entry)
-
-