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 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>

For each item in the supplied iterator (called "surface item") there's instantiated an iterator from that item which is iterated before moving on to the next surface item.

Constructor Summary
`NestingIterable(Iterable<U> source)`

Method Summary
`protected abstract Iterator<T>` | `createNestedIterator(U item)`
`Iterator<T>` | `iterator()`

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

Constructor Detail

### NestingIterable

    public NestingIterable(Iterable<U> source)

Method Detail

### iterator

    public Iterator<T> iterator()

  Specified by:
    `iterator` in interface `Iterable<T>`

### createNestedIterator

    protected abstract Iterator<T> createNestedIterator(U item)

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.