|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.util.Pair
Can store two objects in a Pair.
Field Summary | |
Object |
key
The key. |
Object |
value
The value |
Constructor Summary | |
Pair(Object key,
Object value)
Construct a pair of objects |
Method Summary | |
Object |
getKey()
Return the first part of the pair. |
Object |
getValue()
Return the second part of the pair. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Object key
public Object value
Constructor Detail |
public Pair(Object key, Object value)
key
- the first objectvalue
- the second objectMethod Detail |
public Object getKey()
public Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |