|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.helpers.collection.IteratorWrapper<T,U>
T - the type of items to returnU - the type of items to wrap/convert frompublic abstract class IteratorWrapper<T,U>
Wraps an Iterator so that it returns items of another type. The
iteration is done lazily.
| Constructor Summary | |
|---|---|
IteratorWrapper(java.util.Iterator<U> iteratorToWrap)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
protected abstract T |
underlyingObjectToObject(U object)
|
| 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<U> iteratorToWrap)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public T next()
next in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>protected abstract T underlyingObjectToObject(U object)
|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||