Class BaseLeftInheritanceTuple

    • Field Detail

      • inheritedIndex

        protected final int inheritedIndex
        The number of elements that aren't stored locally, but inherited from an ancestor Tuple instead.
      • ancestor

        protected final Tuple ancestor
        This object contains the same elements as the ancestor on the first inheritedIndex positions
    • Constructor Detail

      • BaseLeftInheritanceTuple

        public BaseLeftInheritanceTuple​(Tuple ancestor)
        Parameters:
        ancestor -
    • Method Detail

      • getLocalSize

        public abstract int getLocalSize()
        Returns:
        the number of local (non-inherited) elements
      • internalEquals

        protected boolean internalEquals​(ITuple other)
        Optimized equals calculation (prediction: true, since hash values match)
        Overrides:
        internalEquals in class AbstractTuple
      • localEquals

        protected abstract boolean localEquals​(BaseLeftInheritanceTuple other)
        Checks the equivalence of local elements only, after ancestor tuple has been determined to be equal.