
FIRST - first typeSECOND - second typeTHIRD - second typepublic final class CTriple<FIRST extends Comparable<? super FIRST>,SECOND extends Comparable<? super SECOND>,THIRD extends Comparable<? super THIRD>> extends Triple<FIRST,SECOND,THIRD> implements Comparable<CTriple<FIRST,SECOND,THIRD>>
| Constructor and Description |
|---|
CTriple(FIRST first,
SECOND second,
THIRD third)
Constructor with fields
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CTriple<FIRST,SECOND,THIRD> other)
Generic derived compare function.
|
String |
toString()
Canonical toString operator
|
public String toString()
toString in class Triple<FIRST extends Comparable<? super FIRST>,SECOND extends Comparable<? super SECOND>,THIRD extends Comparable<? super THIRD>>public int compareTo(CTriple<FIRST,SECOND,THIRD> other)
compareTo in interface Comparable<CTriple<FIRST extends Comparable<? super FIRST>,SECOND extends Comparable<? super SECOND>,THIRD extends Comparable<? super THIRD>>>other - Object to compare to