Neo4j Enterprise

org.neo4j.helpers.collection
Class CombiningIterable<T>

java.lang.Object
  extended by org.neo4j.helpers.collection.CombiningIterable<T>
Type Parameters:
T - the type of items in the iteration.
All Implemented Interfaces:
Iterable<T>

public class CombiningIterable<T>
extends Object
implements Iterable<T>

Combining one or more Iterables, making them look like they were one big iterable. All iteration/combining is done lazily.


Constructor Summary
CombiningIterable(Iterable<Iterable<T>> iterables)
           
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombiningIterable

public CombiningIterable(Iterable<Iterable<T>> iterables)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

Neo4j Enterprise

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.