public class Triple<A,B,C>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
A |
fst
The first component.
|
B |
snd
The second component.
|
C |
trd
The third component.
|
public final A fst
public final B snd
public final C trd
public static <A,B,C> Triple<A,B,C> of(A a, B b, C c)
A
- type variable for the type of the first componentB
- type variable for the type of the second componenta
- a first componentb
- a second componenta
and b
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object