org.shapelogic.streams
Class ListCalcStream1<In,E>
java.lang.Object
org.shapelogic.streams.BaseListCommonStream<E>
org.shapelogic.streams.BaseListStream1<In,E>
org.shapelogic.streams.ListCalcStream1<In,E>
- All Implemented Interfaces:
- java.lang.Iterable<E>, java.util.Iterator<E>, Calc1<In,E>, CalcValue<E>, ContextGettable, InContexts, LazyCalc<E>, InputStream1<In,E>, ListStream<E>, NumberedStream<E>, Stream<E>, StreamProperties
public class ListCalcStream1<In,E>
- extends BaseListStream1<In,E>
Make a stream that is using a Calc1 class to do a calculation.
In type does not seem to be used.
- Author:
- Sami Badawi
Methods inherited from class org.shapelogic.streams.BaseListCommonStream |
calcAddNext, get, getContext, getContexts, getCurrentSize, getInContext, getIndex, getLast, getMaxLast, getName, getValue, hasNext, hasNextBase, isCached, isContextBased, isDeterministic, isDirty, isRandomAccess, iterator, next, remove, setMaxLast, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_calc
protected Calc1<In,E> _calc
ListCalcStream1
public ListCalcStream1(Calc1<In,E> calc,
NumberedStream<In> inputStream,
int maxLast)
ListCalcStream1
public ListCalcStream1(Calc1<In,E> calc,
NumberedStream<In> inputStream)
ListCalcStream1
public ListCalcStream1()
ListCalcStream1
public ListCalcStream1(Calc1<In,E> calc,
int maxLast)
invoke
public E invoke(In input)
Copyright © 2008. All Rights Reserved.