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 An iterator which should be closed after use.
ExtendedIterator 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 Converts an Object to another Object.
MapFilter Combines the actions of Map and Filter, mapping unacceptable objects to null and acceptable ones to their mapped value.
 

Class Summary
ArrayIterator An Iterator for arrays.
ConcatenatedIterator An iterator that represents the concatenation of two individual iterators.
EarlyBindingIterator Fully execute the iterator immediately, but pretend we haven't.
Filter boolean functions wrapped to be used in filtering iterators.
FilterDropIterator A subclass of FiterIterator which discards the elements that pass the filter.
FilterIterator Creates a sub-Iterator by filtering.
FilterKeepIterator A subclass of FilterIterator which keeps the elements that pass the test.
IteratorIterator Given an Iterator that returns Iterator's, this creates an Iterator over the next level values.
LateBindingIterator An Iterator that is created lazily.
LazyIterator An ExtendedIterator that is created lazily.
Map1Iterator An iterator that consumes an underlying iterator and maps its results before delivering them; supports remove if the underlying iterator does.
MapFilterIterator 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 NiceIterator is the standard base class implementing ExtendedIterator.
NullIterator An empty iterator.
RandomOrderIterator RandomOrderIterator - Reorders the elements returned by an Iterator.
SingletonIterator A ClosableIterator that contains only one element
UniqueExtendedIterator A variant on the closable/extended iterator that filters out duplicate values.
WrappedIterator 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 Hewlett-Packard Development Company, LP