|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectesmska.data.Tuple3<A,B,C>
public class Tuple3<A,B,C>
Container for tuple of three objects of different classes.
Field Summary | |
---|---|
protected A |
v1
|
protected B |
v2
|
protected C |
v3
|
Constructor Summary | |
---|---|
Tuple3(A v1,
B v2,
C v3)
Create new tuple of three objects. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected A v1
protected B v2
protected C v3
Constructor Detail |
---|
public Tuple3(A v1, B v2, C v3)
v1
- first objectv2
- second objectv3
- third objectMethod Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |