| Constructor and Description |
|---|
Pair3(F first,
S second,
T third)
Constructor for a Pair.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> Pair3<A,B,C> |
create(A a,
B b,
C c)
Convenience method for creating an appropriately typed pair.
|
boolean |
equals(Object o)
Checks the two objects for equality by delegating to their respective
Object.equals(Object) methods. |
int |
hashCode()
Compute a hash code using the hash codes of the underlying objects
|
String |
toString() |
public boolean equals(Object o)
Object.equals(Object) methods.public int hashCode()
public static <A,B,C> Pair3<A,B,C> create(A a, B b, C c)
a - the first object in the Pairb - the second object in the pair