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