Neo4j Advanced

Package org.neo4j.helpers.collection

Collections utilities - Iterator/Iterable utilities and creating Maps.

See:
          Description

Interface Summary
ClosableIterable<T>  
ClosableIterator<T>  
 

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 Iterables, making them look like they were one big iterable.
CombiningIterator<T> Combining one or more Iterators, making them look like they were one big iterator.
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.
IterableWrapper<T,U> Wraps an Iterable so that it returns items of another type.
IteratorUtil Contains common functionality regarding Iterators and Iterables.
IteratorWrapper<T,U> Wraps an Iterator so that it returns items of another type.
LinesOfFileIterator  
MapUtil Utility to create Maps.
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.
 

Package org.neo4j.helpers.collection Description

Collections utilities - Iterator/Iterable utilities and creating Maps.


Neo4j Advanced

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.