|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.iterator.JDKIteratorWrapper<E>
public class JDKIteratorWrapper<E>
Wraps a JDK Iterator into a BidirectionalIterator,
making the unsupported operations throw an UnsupportedOperationException.
Created: 12.06.2007 19:51:44
| Constructor Summary | |
|---|---|
JDKIteratorWrapper(java.util.Iterator<E> realIterator)
|
|
| Method Summary | |
|---|---|
E |
first()
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
E |
last()
|
E |
next()
|
E |
previous()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDKIteratorWrapper(java.util.Iterator<E> realIterator)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<E>public E next()
next in interface java.util.Iterator<E>public void remove()
remove in interface java.util.Iterator<E>public E first()
first in interface BidirectionalIterator<E>public boolean hasPrevious()
hasPrevious in interface BidirectionalIterator<E>public E previous()
previous in interface BidirectionalIterator<E>public E last()
last in interface BidirectionalIterator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||