Class MaskedTuple
java.lang.Object
tools.refinery.interpreter.matchers.tuple.AbstractTuple
tools.refinery.interpreter.matchers.tuple.Tuple
tools.refinery.interpreter.matchers.tuple.MaskedTuple
- All Implemented Interfaces:
ITuple
A tuple that transparently provides a masked (transformed) view of another tuple.
- Since:
- 2.0
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
cachedHash
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
equals, hashCode, replaceAll, toImmutable
Methods inherited from class tools.refinery.interpreter.matchers.tuple.AbstractTuple
doCalcHash, getDistinctElements, getElements, internalEquals, invertIndex, invertIndexWithMupliplicity, raiseIndexingError, toString
-
Constructor Details
-
MaskedTuple
-
-
Method Details
-
get
- Returns:
- the element at the specified index
-
getSize
public int getSize()- Returns:
- number of elements
-