T1
- the type of the first element of the tripleT2
- the type of the second element of the tripleT3
- the type of the third element of the triple@Deprecated
public class Triple<T1,T2,T3>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
T1 |
a
Deprecated.
|
T2 |
b
Deprecated.
|
T3 |
c
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
static <A,B,C> Triple<A,B,C> |
of(A a,
B b,
C c)
Deprecated.
Factory method with short name and no need to name type parameters.
|
java.lang.String |
toString()
Deprecated.
|
public static <A,B,C> Triple<A,B,C> of(A a, B b, C c)
A
- type of first argumentB
- type of second argumentC
- type of third argumenta
- first argumentb
- second argumentc
- third argumentpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object