abstracted Tuple for multiple subclasses; Tuple caches hash code, and IntTuple extends trove TIntArrayList
cache IntTuple hashcode