Class StoredListIterator<T>

All Implemented Interfaces:
IStoredListIterator<T>

public final class StoredListIterator<T> extends AbstractResource implements IStoredListIterator<T>
Iterates the data in the StoredList
Since:
6.1
Author:
anna
  • Constructor Details

    • StoredListIterator

      public StoredListIterator()
    • StoredListIterator

      public StoredListIterator(boolean alternatingThread)
  • Method Details

    • clean

      protected void clean()
      Specified by:
      clean in class AbstractResource
    • setCurrentOI

      public void setCurrentOI(com.j_spaces.kernel.AbstractStoredList.ObjectInfo<T> currentOI)
      Parameters:
      currentOI - The currentOI to set.
    • getCurrentOI

      public com.j_spaces.kernel.AbstractStoredList.ObjectInfo<T> getCurrentOI()
      Returns:
      Returns the currentOI.
    • setPivotOI

      public void setPivotOI(com.j_spaces.kernel.AbstractStoredList.ObjectInfo<T> pivotOI)
      Parameters:
      pivotOI - The pivotOI to set.
    • getPivotOI

      public com.j_spaces.kernel.AbstractStoredList.ObjectInfo<T> getPivotOI()
      Returns:
      Returns the pivotOI.
    • setSubject

      public void setSubject(T subject)
      Description copied from interface: IStoredListIterator
      Sets the subject pointed to by the cursor's scan.
      Specified by:
      setSubject in interface IStoredListIterator<T>
      Parameters:
      subject - The subject to set.
    • getSubject

      public T getSubject()
      Description copied from interface: IStoredListIterator
      Gets the subject pointed to by the cursor's scan.
      Specified by:
      getSubject in interface IStoredListIterator<T>
      Returns:
      Returns the subject.
    • setTryForwardScan

      public void setTryForwardScan(boolean tryFwdScan)
      Parameters:
      tryFwdScan - The tryFwdScan to set.
    • tryForwardScan

      public boolean tryForwardScan()
      Returns:
      Returns the tryFwdScan.
    • setBackwardsScan

      public void setBackwardsScan(boolean backward)
      Parameters:
      backward - The backward to set.
    • backwardsScan

      public boolean backwardsScan()
      Returns:
      Returns the backward.
    • setScanLimit

      public int setScanLimit(int scanLimit)
      Parameters:
      scanLimit - The scanLimit to set.
    • getScanLimit

      public int getScanLimit()
      Returns:
      Returns the scanLimit.
    • isAlternatingThread

      public boolean isAlternatingThread()
    • release

      public void release()
      Description copied from interface: IStoredListIterator
      Release of this SLHolder resource
      Specified by:
      release in interface IStoredListIterator<T>
      Overrides:
      release in class AbstractResource
      See Also: