|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inria.opengve.tools.dataStructures.Pair<K,V>
public class Pair<K,V>
Can store two objects in a Pair.
Constructor Summary | |
---|---|
Pair(K key,
V value)
Construct a pair of objects. |
Method Summary | |
---|---|
K |
getKey()
Return the first part of the pair. |
V |
getValue()
Return the second part of the pair. |
java.lang.String |
toString()
} |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Pair(K key, V value)
key
- the first objectvalue
- the second objectMethod Detail |
---|
public K getKey()
public V getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |