org.neo4j.helpers.collection
Class NestingIterable<T,U>
java.lang.Object
org.neo4j.helpers.collection.NestingIterable<T,U>
- Type Parameters:
T
- the type of items.U
- the type of items in the surface item iterator
- All Implemented Interfaces:
- Iterable<T>
public abstract class NestingIterable<T,U>
- extends Object
- implements Iterable<T>
Concatenates sub-iterables of an iterable.
- See Also:
NestingIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestingIterable
public NestingIterable(Iterable<U> source)
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
createNestedIterator
protected abstract Iterator<T> createNestedIterator(U item)
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.