|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.util.Triplet<A,B,C>
public class Triplet<A,B,C>
A generic class for triplets modeled after Pair.java.
Constructor Summary | |
---|---|
Triplet(A first,
B second,
C third)
|
Method Summary | ||
---|---|---|
boolean |
equals(java.lang.Object other)
|
|
A |
first()
Returns the first element. |
|
int |
hashCode()
|
|
static
|
make(A a,
B b,
C c)
|
|
B |
second()
Returns the second element. |
|
C |
third()
Returns the third element. |
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Triplet(A first, B second, C third)
Method Detail |
---|
public A first()
public B second()
public C third()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static final <A,B,C> Triplet<A,B,C> make(A a, B b, C c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |