CombiningIterator (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

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>
  Direct Known Subclasses:
    CombiningResourceIterator

      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

    Constructors
    Constructor and Description
    `CombiningIterator(Iterable<? extends Iterator<T>> iterators)`
    `CombiningIterator(Iterator<? extends Iterator<T>> iterators)`
    `CombiningIterator(T first, Iterator<T> rest)`

  - ### Method Summary

    - ### Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator

      `hasNext, next, peek, remove`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CombiningIterator

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

    - #### CombiningIterator

          public CombiningIterator(Iterator<? extends Iterator<T>> iterators)

    - #### CombiningIterator

          public CombiningIterator(T first,
                           Iterator<T> rest)

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.