Class BidirectionalIterator<T>

java.lang.Object
org.eclipse.net4j.util.collection.BidirectionalIterator<T>
All Implemented Interfaces:
Iterator<T>

public class BidirectionalIterator<T> extends Object implements Iterator<T>
Since:
3.3
Author:
Eike Stepper
  • Constructor Details

    • BidirectionalIterator

      public BidirectionalIterator(ListIterator<T> delegate, boolean backward)
    • BidirectionalIterator

      public BidirectionalIterator(ListIterator<T> delegate)
  • Method Details

    • getDelegate

      public ListIterator<T> getDelegate()
    • isBackward

      public boolean isBackward()
    • setBackward

      public void setBackward(boolean backward)
    • hasNext

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

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

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