public class Triple<S,T,U>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
S |
getFirst() |
T |
getSecond() |
U |
getThird() |
int |
hashCode() |
static <S,T,U> Triple<S,T,U> |
makeTriple(S s,
T t,
U u) |
void |
setFirst(S first) |
void |
setSecond(T second) |
void |
setThird(U third) |
java.lang.String |
toString() |
public S getFirst()
public void setFirst(S first)
public T getSecond()
public void setSecond(T second)
public U getThird()
public void setThird(U third)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static <S,T,U> Triple<S,T,U> makeTriple(S s, T t, U u)