|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlv.gotika.engine.util.Quadruple<A,B,C,D>
public class Quadruple<A,B,C,D>
Data structure: an ordered 4-tuple consisting of generic objects.
| Constructor Summary | |
|---|---|
Quadruple(A first,
B second,
C third,
D fourth)
Standard constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
A |
getFirst()
Returns the first element of the 4-tuple. |
D |
getFourth()
Returns the fourth element of the 4-tuple. |
B |
getSecond()
Returns the second element of the 4-tuple. |
C |
getThird()
Returns the third element of the 4-tuple. |
int |
hashCode()
Returns a hash code value for the 4-tuple (depends on the four elements). |
String |
toString()
Returns a string representation of the 4-tuple (concatenation of the four elements). |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Quadruple(A first,
B second,
C third,
D fourth)
first - the first element of the 4-tuple.second - the second element of the 4-tuple.third - the third element of the 4-tuple.fourth - the fourth element of the 4-tuple.| Method Detail |
|---|
public A getFirst()
public B getSecond()
public C getThird()
public D getFourth()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectequals(Object)public boolean equals(Object o)
equals in class Objecto - the reference object with which to compare.
hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||