Class BidirectionalIterator<T>
- java.lang.Object
-
- org.eclipse.net4j.util.collection.BidirectionalIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
public class BidirectionalIterator<T> extends java.lang.Object implements java.util.Iterator<T>
- Since:
- 3.3
- Author:
- Eike Stepper
-
-
Constructor Summary
Constructors Constructor Description BidirectionalIterator(java.util.ListIterator<T> delegate)
BidirectionalIterator(java.util.ListIterator<T> delegate, boolean backward)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ListIterator<T>
getDelegate()
boolean
hasNext()
boolean
isBackward()
T
next()
void
remove()
void
setBackward(boolean backward)
-
-
-
Method Detail
-
getDelegate
public java.util.ListIterator<T> getDelegate()
-
isBackward
public boolean isBackward()
-
setBackward
public void setBackward(boolean backward)
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<T>
-
-