|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.ioc.client.container.Tuple<K,V>
public class Tuple<K,V>
A simple tuple implementation meant to hold a key-value pair.
Method Summary | ||
---|---|---|
K |
getKey()
Returns the key. |
|
V |
getValue()
Returns the value. |
|
static
|
of(K k,
V v)
Creates a new Tuple. |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static <K,V> Tuple<K,V> of(K k, V v)
K
- the key typeV
- the value typek
- the keyv
- the value
public K getKey()
public V getValue()
public String toString()
toString
in class Object
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |