public class Tuple3<A,B,C>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected A |
v1 |
protected B |
v2 |
protected C |
v3 |
Constructor and Description |
---|
Tuple3(A v1,
B v2,
C v3)
Create new tuple of three objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
A |
get1()
Get first object
|
B |
get2()
Get second object
|
C |
get3()
Get third object
|
int |
hashCode() |
void |
set1(A v1)
Set first object
|
void |
set2(B v2)
Set second object
|
void |
set3(C v3)
Set third object
|
java.lang.String |
toString() |
public A get1()
public void set1(A v1)
public B get2()
public void set2(B v2)
public C get3()
public void set3(C v3)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object