org.neo4j.helpers.collection (Neo4j Community 1.8.RC1 API)
Date: 2012-09-07

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.neo4j.helpers.collection

Collections utilities - Iterator/Iterable utilities and creating `Map`s.

See:
Description

Interface Summary
ClosableIterable<T> |
ClosableIterator<T> |
Visitor<E> | A visitor to internalize iteration.

Class Summary
ArrayIterator<T> |
CachingIterator<T> | An `Iterator` which lazily fetches and caches items from the underlying iterator when items are requested.
CatchingIteratorWrapper<T,U> |
CollectionWrapper<T,U> | Wraps a `Collection`, making it look (and function) like a collection holding another type of items.
CombiningIterable<T> | Combining one or more `Iterable`s, making them look like they were one big iterable.
CombiningIterator<T> | Combining one or more `Iterator`s, making them look like they were one big iterator.
ExceptionHandlingIterable<T> | allows to catch, analyse and react on exceptions that are thrown by the inner iterable useful for exception conversion on iterator methods Uses sun.misc.Unsafe internally to rethrow original exceptions !
FilteringIterable<T> | An iterable which filters another iterable, only letting items with certain criterias pass through.
FilteringIterator<T> | An iterator which filters another iterator, only letting items with certain criterias pass through.
FirstItemIterable<T> | Wraps the given iterator but keeps the first item to allow later access to it, like CachingIterator but with less memory overhead.
Iterables | TODO
IterableWrapper<T,U> | Wraps an `Iterable` so that it returns items of another type.
IteratorUtil | Contains common functionality regarding `Iterator`s and `Iterable`s.
IteratorWrapper<T,U> | Wraps an `Iterator` so that it returns items of another type.
LimitingIterable<T> | Limits the amount of items returned by an `Iterable`, or rather `Iterator`s spawned from it.
LimitingIterator<T> | Limits the amount of items returned by an `Iterator`.
LinesOfFileIterator |
MapUtil | Utility to create `Map`s.
NestingIterable<T,U> | Concatenates sub-iterables of an iterable.
NestingIterator<T,U> | Concatenates sub-iterators of an iterator.
PagingIterator<T> | A `CachingIterator` which can more easily divide the items into pages, where optionally each page can be seen as its own `Iterator` instance for convenience using `PagingIterator.nextPage()`.
PositionedIterator<T> | Decorator class that wraps any iterator and remembers the current node.
PrefetchingIterator<T> | Abstract class for how you usually implement iterators when you don't know how many objects there are (which is pretty much every time) Basically the `PrefetchingIterator.hasNext()` method will look up the next object and cache it with `PrefetchingIterator.setPrefetchedNext(Object)`.
RangeIterator | Iterates over a range, where the start value is inclusive, but the end value is exclusive.
ReverseArrayIterator<T> |

## Package org.neo4j.helpers.collection Description

Collections utilities - Iterator/Iterable utilities and creating `Map`s.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.