TYPE_ONE
- the type of the first objectTYPE_TWO
- the type of the second objectpublic class Pair<TYPE_ONE,TYPE_TWO>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equality is defined by the equality of the objects in the Pair.
|
TYPE_ONE |
getOne() |
TYPE_TWO |
getTwo() |
int |
hashCode() |
java.lang.String |
toString() |
public TYPE_ONE getOne()
public TYPE_TWO getTwo()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object