Class LeftInheritanceTuple2
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.LeftInheritanceTuple2
- All Implemented Interfaces:
ITuple
- Since:
- 1.7
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.tuple.BaseLeftInheritanceTuple
ancestor, inheritedIndexFields inherited from class tools.refinery.interpreter.matchers.tuple.Tuple
cachedHash -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLeftInheritanceTuple2(Tuple ancestor, Object localElement0, Object localElement1) -
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
-
Constructor Details
-
LeftInheritanceTuple2
-
-
Method Details
-
getLocalSize
public int getLocalSize()- Specified by:
getLocalSizein classBaseLeftInheritanceTuple- Returns:
- the number of local (non-inherited) elements
-
getSize
public int getSize()- Returns:
- number of elements
-
get
- Returns:
- the element at the specified index
-
localEquals
Description copied from class:BaseLeftInheritanceTupleChecks the equivalence of local elements only, after ancestor tuple has been determined to be equal.- Specified by:
localEqualsin classBaseLeftInheritanceTuple
-