Package com.hp.hpl.jena.util.iterator

A package for defining useful iterators and iterator operations, including concatenation, mapping, filtering, empty and singleton iterators, iterator wrappers, and the ExtendedIterator class used in many places in Jena.

See:
          Description

Interface Summary
ClosableIterator<T> An iterator which should be closed after use.
ExtendedIterator<T> an ExtendedIterator is a ClosableIterator on which other operations are defined for convenience in iterator composition: composition, filtering in, filtering out, and element mapping.
Map1<From,To> Converts an Object to another Object.
MapFilter<R,S> Combines the actions of Map and Filter, mapping unacceptable objects to null and acceptable ones to their mapped value.
 

Class Summary
ArrayIterator<T> An Iterator for arrays.
ConcatenatedIterator<T> An iterator that represents the concatenation of two individual iterators.
EarlyBindingIterator<T> Fully execute the iterator immediately, but pretend we haven't.
Filter<T> boolean functions wrapped to be used in filtering iterators.
FilterDropIterator<T> A subclass of FiterIterator which discards the elements that pass the filter.
FilterIterator<T> Creates a sub-Iterator by filtering.
FilterKeepIterator<T> A subclass of FilterIterator which keeps the elements that pass the test.
IteratorIterator<T> Given an Iterator that returns Iterator's, this creates an Iterator over the next level values.
LateBindingIterator<T> An Iterator that is created lazily.
LazyIterator<T> An ExtendedIterator that is created lazily.
Map1Iterator<From,To> An iterator that consumes an underlying iterator and maps its results before delivering them; supports remove if the underlying iterator does.
MapFilterIterator<T,X> A MapFilterIterator takes a MapFilter and an [Extended]Iterator and returns a new ExtendedIterator which delivers the sequence of all non-null elements MapFilter(X) for X from the base iterator.
NiceIterator<T> NiceIterator is the standard base class implementing ExtendedIterator.
NullIterator<T> An empty iterator.
RandomOrderIterator<T> RandomOrderIterator - Reorders the elements returned by an Iterator.
SingletonIterator<T> A ClosableIterator that contains only one element
UniqueExtendedIterator<T> A variant on the closable/extended iterator that filters out duplicate values.
WrappedIterator<T> a WrappedIterator is an ExtendedIterator wrapping around a plain (or presented as plain) Iterator.
 

Package com.hp.hpl.jena.util.iterator Description

A package for defining useful iterators and iterator operations, including concatenation, mapping, filtering, empty and singleton iterators, iterator wrappers, and the ExtendedIterator class used in many places in Jena.



Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP