F - The type of the first element of the triple.S - The type of the second element of the triple.T - The type of the third element of the triple.public class Triple<F,S,T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected F |
first
The first element of the triple.
|
protected S |
second
The second element of the triple.
|
protected T |
third
The third element of the triple.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Triple()
Default constructor for serialisation.
|
|
Triple(F first,
S second,
T third)
Constructor.
|
protected F first
final is not
possible.protected S second
final
is not possible.protected T third
final is not
possible.protected Triple()
public F getFirst()
public S getSecond()
public T getThird()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object