Package org.shapelogic.streams

Streams

See:
          Description

Interface Summary
FilterCalcStream1<E,Out> Does calculation on input and if it is different from null return Entry of input result.
FilterStream<E> FilterStream is the simplest filter Stream.
FilterTransformerStream<E,Out> FilterStream is the simplest filter Stream.
IndexedInputStream0<E> Universal calculation and logic unit.
IndexedInputStream1<In,E> Universal calculation and logic unit.
IndexedInputStream2<In0,In1,E> Universal calculation and logic unit.
InputsStream2<In0,In1,E> NumberedStream is a Sequential stream where each element has an intrinsic number.
InputStream1<In,E> Universal calculation and logic unit.
InputStreamList<In,E> InputStreamList is like InputStream1 but takes List of streams as input.
ListFilterStream<E>  
ListStream<E> Universal calculation and logic unit.
NumberedStream<E> NumberedStream is a Sequential Stream where each element has an intrinsic number.
Stream<E> Stream where is a sequential StreamCalc that generate a sequence of calculated elements.
StreamProperties Properties to be Stream the universal calculation and logic unit.

This is going to replace the current Calc, so this should probably just be renamed to Calc or LazyCalc.
Should I assume that null means absent of value?
That seems a little harsh.
 

Class Summary
AddListStream AddListStream takes a list of Integer streams and create the add of them.
AndListStream AndListStream takes a list of Boolean streams and create the and of them.
BaseListCommonStream<E> Implementation of ListStream.
BaseListFilterStream<E> This is the abstract class to override to make a ListFilterStream.
BaseListFilterTransformerStream<E,Out> This is the abstract class to override to make a ListFilterStream.
BaseListIndexedStream1<In,E> Implementation of ListStream.
BaseListStream0<E> Implementation of ListStream.
BaseListStream1<In,E> Implementation of ListStream.
BaseListStream2<In0,In1,E> Implementation of ListStream.
BaseListStreamList<In,E> Implementation of ListStream.
BaseStream2<In0,In1,E> BaseDeclarativeStreamInputs2 a Stream with 2 inputs.
IteratorStream<E> Stream based on Iterator that can be set.
ListCalcIndexStream1<In,E> Make a stream that is using a Transformer class to do a calculation.
ListCalcStream1<In,E> Make a stream that is using a Calc1 class to do a calculation.
ListFilterCalcStream1<E,Out> Does calculation on input and if it is different from null return Entry of input result.
NamedListStream<E> Deprecated.
NamedNumberedStream<E> Deprecated.
NamedNumberedStreamLazySetup<E> Deprecated.
PredicateListFilterStream<E> For ListFilterStream that just takes an input predicate.
SingleListStream<T> Use this to treat a calculation as a stream.
StreamFactory StreamFactory is a factory for Streams.
StreamUtil Class with utility methods for Stream.
WrappedListStream<E> Wraps a stream around a list.
XOrListStream AndListStream takes a list of Boolean streams and create the and of them.
 

Package org.shapelogic.streams Description

Streams

New library for functional programming style streams / lazy lists.

Dependency

Declarative programming

Declarative programming in ShapeLogic is build on the following:

Streams

Definitions

last the last element of a stream, set to LAST_UNKNOWN, before it is know. This value can get lower as calculation progress.

maxLast manually set max value for last. The real last value might be lower.

nullLegalValue if this is false then the stream will end when the first null value is encountered.

How can an calculation of stream end?



Copyright © 2008. All Rights Reserved.