Class AbstractIterator<T>

java.lang.Object
org.springframework.statemachine.support.tree.AbstractIterator<T>
All Implemented Interfaces:
Iterator<T>

public abstract class AbstractIterator<T> extends Object implements Iterator<T>
  • Constructor Details

    • AbstractIterator

      public AbstractIterator()
  • Method Details

    • computeNext

      protected abstract T computeNext()
    • endOfData

      protected final T endOfData()
    • hasNext

      public final boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public final T next()
      Specified by:
      next in interface Iterator<T>
    • peek

      public final T peek()
    • remove

      public final void remove()
      Specified by:
      remove in interface Iterator<T>