- All Implemented Interfaces:
- Serializable, Comparable<IntTuple>
- Direct Known Subclasses:
- IntPair, IntQuadruple, IntTriple, IntUni
public class IntTuple
extends Object
implements Serializable, Comparable<IntTuple>
A tuple of int. There are special classes for IntUni, IntPair, IntTriple
and IntQuadruple. The motivation for that was the different hashCode
implementations.
By using the static IntTuple.getIntTuple(numElements) one can obtain an
instance of the appropriate sub-class.
- Author:
- Kristina Toutanova (kristina@cs.stanford.edu)
- See Also:
- Serialized Form