F - The type of the first objectS - The type of the second objectT - The type of the third objectpublic class Triple<F,S,T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
F |
first
The first object.
|
S |
second
The second object.
|
T |
third
The third object.
|
| Constructor and Description |
|---|
Triple(F first,
S second,
T third)
Creates a new triple.
|
| Modifier and Type | Method and Description |
|---|---|
static <F,S,T> Triple<F,S,T> |
create(F first,
S second,
T third)
Creates a new triple.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public final F first
public final S second
public final T third
public static <F,S,T> Triple<F,S,T> create(F first, S second, T third)
F - The type of the first objectS - The type of the second objectT - The type of the third objectfirst - The first objectsecond - The second objectthird - The third objectTriplepublic final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Object