Class LeftInheritanceTuple
java.lang.Object
tools.refinery.interpreter.matchers.tuple.AbstractTuple
tools.refinery.interpreter.matchers.tuple.Tuple
tools.refinery.interpreter.matchers.tuple.BaseLeftInheritanceTuple
tools.refinery.interpreter.matchers.tuple.LeftInheritanceTuple
- All Implemented Interfaces:
 ITuple
Tuple that inherits another tuple on the left.
- 
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.tuple.BaseLeftInheritanceTuple
ancestor, inheritedIndexFields inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
cachedHash - 
Method Summary
Methods inherited from class tools.refinery.interpreter.matchers.tuple.BaseLeftInheritanceTuple
internalEqualsMethods inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
equals, hashCode, replaceAll, toImmutableMethods inherited from class tools.refinery.interpreter.matchers.tuple.AbstractTuple
doCalcHash, getDistinctElements, getElements, invertIndex, invertIndexWithMupliplicity, raiseIndexingError, toString 
- 
Method Details
- 
getSize
public int getSize()- Returns:
 - number of elements
 
 - 
getLocalSize
public int getLocalSize()- Specified by:
 getLocalSizein classBaseLeftInheritanceTuple- Returns:
 - the number of local (non-inherited) elements
 
 - 
get
- Returns:
 - the element at the specified index
 
 - 
localEquals
Optimized equals calculation (prediction: true, since hash values match)- Specified by:
 localEqualsin classBaseLeftInheritanceTuple
 
 -