public class NCPair<FirstType,SecondType>
extends java.lang.Object
Pair| Constructor and Description |
|---|
NCPair(FirstType first,
SecondType second) |
| Modifier and Type | Method and Description |
|---|---|
static <X,Y> NCPair<X,Y> |
create(X first,
Y second) |
boolean |
equals(java.lang.Object obj) |
FirstType |
getFirst() |
SecondType |
getSecond() |
int |
hashCode() |
java.lang.String |
toString() |
public NCPair(FirstType first, SecondType second)
public static <X,Y> NCPair<X,Y> create(X first, Y second)
public FirstType getFirst()
public SecondType getSecond()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object