|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.module.common_impl.AdapterIterator<T,U>
public abstract class AdapterIterator<T,U>
Iterator implementation that works as a filter to another iterator.
| Constructor Summary | |
|---|---|
AdapterIterator(java.util.Iterator<? extends U> core)
|
|
| Method Summary | |
|---|---|
protected abstract T |
adapt(U u)
|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdapterIterator(java.util.Iterator<? extends U> core)
| Method Detail |
|---|
public T next()
next in interface java.util.Iterator<T>public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>protected abstract T adapt(U u)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||