T1
- type of the first object.T2
- type of the second object.public class Pair<T1,T2> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Pair(T1 e1,
T2 e2)
Creates a new instance of NodePair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T1 |
getFirst() |
static <A,B> Pair<A,B> |
getPair(A first,
B second) |
static <A,B> List<Pair<A,B>> |
getPairList(A first,
B second) |
T2 |
getSecond() |
int |
hashCode() |
String |
toString() |
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.