chord.util.tuple.integer
Class IntTrio
java.lang.Object
chord.util.tuple.integer.IntTrio
- All Implemented Interfaces:
- java.io.Serializable
public class IntTrio
- extends java.lang.Object
- implements java.io.Serializable
An ordered 3-tuple of integers.
- Author:
- Mayur Naik (mhn@cs.stanford.edu)
- See Also:
- Serialized Form
|
Field Summary |
int |
idx0
The 0th integer in the ordered 3-tuple. |
int |
idx1
The 1st integer in the ordered 3-tuple. |
int |
idx2
The 2nd integer in the ordered 3-tuple. |
|
Constructor Summary |
IntTrio(int idx0,
int idx1,
int idx2)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
idx0
public int idx0
- The 0th integer in the ordered 3-tuple.
idx1
public int idx1
- The 1st integer in the ordered 3-tuple.
idx2
public int idx2
- The 2nd integer in the ordered 3-tuple.
IntTrio
public IntTrio(int idx0,
int idx1,
int idx2)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object