Class Tuple
java.lang.Object
tools.refinery.interpreter.matchers.tuple.AbstractTuple
tools.refinery.interpreter.matchers.tuple.Tuple
- All Implemented Interfaces:
ITuple
- Direct Known Subclasses:
BaseFlatTuple
,BaseLeftInheritanceTuple
,MaskedTuple
Immutable tuple. Obtain instances via utility class
Tuples
.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Tuple()
Creates a Tuple instance Derivatives should call calcHash() -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
replaceAll
(Object obsolete, Object replacement) Methods inherited from class tools.refinery.interpreter.matchers.tuple.AbstractTuple
doCalcHash, getDistinctElements, getElements, internalEquals, invertIndex, invertIndexWithMupliplicity, raiseIndexingError, toString
-
Field Details
-
cachedHash
protected int cachedHashCaches precalculated hash value
-
-
Constructor Details
-
Tuple
protected Tuple()Creates a Tuple instance Derivatives should call calcHash()
-
-
Method Details