public class Pair<K,V> extends Object implements Map.Entry<K,V>
K
key
V
value
Pair(K k, V v)
getKey()
getValue()
static <K,V> Pair<K,V>
of(K k, V v)
setValue(V value)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public final K key
public final V value
public Pair(K k, V v)
public K getKey()
getKey
Map.Entry<K,V>
public V getValue()
getValue
public V setValue(V value)
setValue
public static <K,V> Pair<K,V> of(K k, V v)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.