IterableWrapper (Neo4j - Graph Database Kernel Distribution 1.1 API)
Keywords: org.neo4j.helpers.collection.IterableWrapper 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 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
`IterableWrapper(Iterable<U> iterableToWrap)`

Method Summary
`Iterator<T>` | `iterator()`
`protected abstract T` | `underlyingObjectToObject(U object)`

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

Constructor Detail

### IterableWrapper

    public IterableWrapper(Iterable<U> iterableToWrap)

Method Detail

### underlyingObjectToObject

    protected abstract T underlyingObjectToObject(U object)

### iterator

    public Iterator<T> iterator()

  Specified by:
    `iterator` in interface `Iterable<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.