CombiningIterator (Neo4j - Graph Database Kernel Distribution 1.1 API)
Keywords: org.neo4j.helpers.collection.CombiningIterator class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.helpers.collection
Class CombiningIterator<T>

    java.lang.Object
      org.neo4j.helpers.collection.PrefetchingIterator<T>
          org.neo4j.helpers.collection.CombiningIterator<T>

Type Parameters:
  `T` - the type of items in the iteration.

All Implemented Interfaces:
  Iterator<T>

    public class CombiningIterator<T>

extends PrefetchingIterator<T>

Combining one or more `Iterator`s, making them look like they were one big iterator. All iteration/combining is done lazily.

Constructor Summary
`CombiningIterator(Iterable<Iterator<T>> iterators)`

Method Summary
`protected T` | `fetchNextOrNull()`

Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
`getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CombiningIterator

    public CombiningIterator(Iterable<Iterator<T>> iterators)

Method Detail

### fetchNextOrNull

    protected T fetchNextOrNull()

  Specified by:
    `fetchNextOrNull` in class `PrefetchingIterator<T>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Neo4j. All Rights Reserved.