Package org.javimmutable.collections.cursors

Interface Summary
StandardCursor.Source<T> Simple interface for classes that can iterate immediately (i.e.
ValueFunction<T>  
ValueFunctionFactory<T,F extends ValueFunction<T>>  
 

Class Summary
AbstractStartCursor<T> Base implementation for unstarted Cursor classes.
AbstractStartedCursor<T> Base class for started (i.e.
Cursors  
EmptyStartedCursor<T> Cursor implementation intended solely for internal use in the cursors package.
IterableCursor Provides objects implementing the Cursor interface that can be used to traverse an Iterable.
LazyCursor<V> Cursor that creates and returns a real Cursor for a specific iterable only when start() or next() is called for the first time.
MultiCursor<T> A Cursor that combines multiple Cursors into a single virtual Cursor that visits all values from all Cursors in order.
MultiCursor.Builder<T> Builder class to build a MultiCursor from an arbitrary sequence of Cursors.
MultiTransformCursor<S,T> Cursor that produces values by visiting all values in a Cursor of objects and using a Func1 on each object to produce a Cursor that is then visited to reach all of its elements.
SequenceCursor<T>  
SingleValueCursor<T> A Cursor containing exactly one value to be traversed.
StandardCursor Utility class that implements standard Cursor behavior for classes that do not naturally start at a position before the first element.
TransformCursor<S,T> A Cursor that visits all values in another Cursor and transforms each value using a Func1 object.
ValueFunctionCursor Provides standard Cursor objects for iterating over the values of arbitrary functions.
ValueFunctionCursor.Start<T,F extends ValueFunction<T>,A extends ValueFunctionFactory<T,F>>  
ZipCursor Provides static factory method to create a cursor to combines corresponding values from other cursors into Tuples.
 



Copyright © 2014 Burton Computer Corporation. All rights reserved.