|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.util.IteratorWrapper<T>
public abstract class IteratorWrapper<T>
Iterator wrapper.
This wraps an iterator and alos the object it returns to be wraped.
Constructor Summary | |
---|---|
IteratorWrapper(java.util.Iterator<?> it)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
protected abstract T |
wrap(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IteratorWrapper(java.util.Iterator<?> it)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public T next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
protected abstract T wrap(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |