|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.util.IntTriple
public class IntTriple
An ordered triple of 3 ints.
IntPair
Field Summary | |
---|---|
int |
a
The first int of the ordered triple |
int |
b
The second int of the ordered triple |
int |
c
The third int of the ordered triple |
Constructor Summary | |
---|---|
IntTriple(int a,
int b,
int c)
Creates a new IntTriple object. |
Method Summary | |
---|---|
boolean |
equals(IntTriple it)
Are these IntTriples' integers equal (ordered comparison)? Unlike IntPair.equals(IntPair) , the order matters. |
java.lang.String |
toString()
Get a string with the hex contents of this triple. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int a
public int b
public int c
Constructor Detail |
---|
public IntTriple(int a, int b, int c)
a
- First intb
- Second intc
- Third intMethod Detail |
---|
public boolean equals(IntTriple it)
IntPair.equals(IntPair)
, the order matters.
it
- Another IntTriple
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 |