org.eclipse.net4j.util.collection
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BidirectionalIterator
public BidirectionalIterator(ListIterator<T> delegate,
boolean backward)
BidirectionalIterator
public BidirectionalIterator(ListIterator<T> delegate)
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>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.