Package com.gengoai.tuple
Class IntPair
- java.lang.Object
-
- com.gengoai.tuple.IntPair
-
- All Implemented Interfaces:
Serializable
,Comparable<IntPair>
public class IntPair extends Object implements Serializable, Comparable<IntPair>
A specialized Tuple of integer values. Comparison is made by comparing the first value (v1) and if they are the same then comparing the second value (v2).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntPair()
-
-
-
Method Detail
-
compareTo
public int compareTo(IntPair o)
- Specified by:
compareTo
in interfaceComparable<IntPair>
-
-