|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mulgara.util.Trio<X,Y,Z>
public class Trio<X,Y,Z>
A threesome of values
| Field Summary | |
|---|---|
X |
_1
The first. |
Y |
_2
The second. |
Z |
_3
The third. |
| Constructor Summary | |
|---|---|
Trio(X x,
Y y,
Z z)
Create a new trio. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Equality method. |
X |
getFirst()
Gets the first |
Y |
getSecond()
Gets the second |
Z |
getThird()
Gets the third |
int |
hashCode()
The hashcode, based on the first and second. |
String |
toString()
Represents this node as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final X _1
public final Y _2
public final Z _3
| Constructor Detail |
|---|
public Trio(X x,
Y y,
Z z)
x - The first part of the trio.y - The second part of the trio.z - The third part of the trio.| Method Detail |
|---|
public X getFirst()
public Y getSecond()
public Z getThird()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||