Class FlatTuple1
java.lang.Object
tools.refinery.interpreter.matchers.tuple.AbstractTuple
tools.refinery.interpreter.matchers.tuple.Tuple
tools.refinery.interpreter.matchers.tuple.BaseFlatTuple
tools.refinery.interpreter.matchers.tuple.FlatTuple1
- All Implemented Interfaces:
ITuple
Flat tuple with statically known arity of 1.
- Since:
- 1.7
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
cachedHash
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(int index) int
getSize()
protected boolean
internalEquals
(ITuple other) Compares the elements stored in this tuple to another tupleMethods 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, invertIndex, invertIndexWithMupliplicity, raiseIndexingError, toString
-
Constructor Details
-
FlatTuple1
-
-
Method Details
-
getSize
public int getSize()- Returns:
- number of elements
-
get
- Returns:
- the element at the specified index
-
internalEquals
Description copied from class:AbstractTuple
Compares the elements stored in this tuple to another tuple- Overrides:
internalEquals
in classAbstractTuple
-