|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.util.Pair<T,M>
T
- class of the first objectM
- class of the second objectpublic final class Pair<T,M>
This class is a simple pair of objects.
Constructor Summary | |
---|---|
Pair(T first,
M second)
Creates a new pair. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
T |
getFirst()
Returns the first object. |
M |
getSecond()
Returns the second object. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pair(T first, M second)
first
- the first objectsecond
- the second objectMethod Detail |
---|
public T getFirst()
public M getSecond()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |