Class LeftTuple

    • Method Detail

      • getNextParentWithHandle

        public LeftTuple getNextParentWithHandle()
      • reAdd

        public void reAdd()
      • reAddLeft

        public void reAddLeft()
      • reAddRight

        public void reAddRight()
      • unlinkFromLeftParent

        public void unlinkFromLeftParent()
      • unlinkFromRightParent

        public void unlinkFromRightParent()
      • getIndex

        public int getIndex()
      • setLeftTupleSink

        public void setLeftTupleSink​(LeftTupleSink sink)
      • getLeftParent

        public LeftTuple getLeftParent()
      • setLeftParent

        public void setLeftParent​(LeftTuple leftParent)
      • getRightParent

        public RightTuple getRightParent()
      • setRightParent

        public void setRightParent​(RightTuple rightParent)
      • getRightParentPrevious

        public LeftTuple getRightParentPrevious()
      • setRightParentPrevious

        public void setRightParentPrevious​(LeftTuple rightParentLeft)
      • getRightParentNext

        public LeftTuple getRightParentNext()
      • setRightParentNext

        public void setRightParentNext​(LeftTuple rightParentRight)
      • get

        public org.kie.api.runtime.rule.FactHandle get​(int index)
      • toFactHandles

        public org.kie.api.runtime.rule.FactHandle[] toFactHandles()
      • toObjects

        public java.lang.Object[] toObjects​(boolean reverse)
      • clearBlocker

        public void clearBlocker()
      • setBlocker

        public void setBlocker​(RightTuple blocker)
      • getBlockedPrevious

        public LeftTuple getBlockedPrevious()
      • setBlockedPrevious

        public void setBlockedPrevious​(LeftTuple blockerPrevious)
      • getBlockedNext

        public LeftTuple getBlockedNext()
      • setBlockedNext

        public void setBlockedNext​(LeftTuple blockerNext)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • size

        public int size()
      • getFirstChild

        public LeftTuple getFirstChild()
      • setFirstChild

        public void setFirstChild​(LeftTuple firstChild)
      • getLastChild

        public LeftTuple getLastChild()
      • setLastChild

        public void setLastChild​(LeftTuple lastChild)
      • setMemory

        public void setMemory​(TupleList memory)
      • getStagedNext

        public LeftTuple getStagedNext()
      • getStagedPrevious

        public LeftTuple getStagedPrevious()
      • setPeer

        public void setPeer​(LeftTuple peer)
      • getSubTuple

        public LeftTuple getSubTuple​(int elements)
        Description copied from interface: Tuple
        Returns the ReteTuple that contains the "elements" first elements in this tuple.

        Use carefully as no cloning is made during this process.

        This method is used by TupleStartEqualsConstraint when joining a subnetwork tuple into the main network tuple;

        Parameters:
        elements - the number of elements to return, starting from the begining of the tuple
        Returns:
        a ReteTuple containing the "elements" first elements of this tuple or null if "elements" is greater than size;
      • toExternalString

        protected java.lang.String toExternalString()
      • getObject

        public java.lang.Object getObject​(int index)
      • getStagedTypeForQueries

        public short getStagedTypeForQueries()
      • setStagedTypeForQueries

        public void setStagedTypeForQueries​(short stagedTypeForQueries)
      • isStagedOnRight

        public boolean isStagedOnRight()
      • getAccumulatedObjects

        public java.util.Collection<java.lang.Object> getAccumulatedObjects()