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

org.neo4j.helpers.collection

## Class IterableWrapper<T,U>

- java.lang.Object
- - org.neo4j.helpers.collection.IterableWrapper<T,U>

- Type Parameters:
    `T` - the type of items to return
    `U` - the type of items to wrap/convert from
  All Implemented Interfaces:
    Iterable<T>

      public abstract class IterableWrapper<T,U>
      extends Object
      implements Iterable<T>

  Wraps an `Iterable` so that it returns items of another type. The iteration is done lazily.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IterableWrapper(Iterable<U> iterableToWrap)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<T>` | `iterator()`

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

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

- - ### Constructor Detail

    - #### IterableWrapper

          public IterableWrapper(Iterable<U> iterableToWrap)

  - ### Method Detail

    - #### iterator

          public Iterator<T> iterator()

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

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