public class MutableTriple<A,B,C>
可修改的Triple
| 构造器和说明 |
|---|
MutableTriple(A first,
B second,
C third)
可修改的Triple
|
| 限定符和类型 | 方法和说明 |
|---|---|
A |
component1() |
B |
component2() |
C |
component3() |
MutableTriple<A,B,C> |
copy(A first,
B second,
C third)
可修改的Triple
|
boolean |
equals(java.lang.Object p) |
A |
getFirst() |
B |
getSecond() |
C |
getThird() |
int |
hashCode() |
void |
setFirst(A p) |
void |
setSecond(B p) |
void |
setThird(C p) |
java.lang.String |
toString()
Returns string representation of the Triple including its first, second and third values.
|
public java.lang.String toString()
Returns string representation of the Triple including its first, second and third values.
public A getFirst()
public void setFirst(A p)
public B getSecond()
public void setSecond(B p)
public C getThird()
public void setThird(C p)
public A component1()
public B component2()
public C component3()
public MutableTriple<A,B,C> copy(A first, B second, C third)
可修改的Triple
public int hashCode()
public boolean equals(java.lang.Object p)