|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.streams.BaseCommonStream<E> org.shapelogic.streams.BaseListCommonStream<T> org.shapelogic.streams.SingleListStream<T>
T
- public abstract class SingleListStream<T>
Use this to treat a calculation as a stream.
Field Summary |
---|
Fields inherited from class org.shapelogic.streams.BaseListCommonStream |
---|
_list |
Fields inherited from class org.shapelogic.streams.BaseCommonStream |
---|
_context, _current, _dirty, _last, _maxLast, _name, _nullLegalValue, _parentContext, _query, _value |
Constructor Summary | |
---|---|
SingleListStream()
|
Method Summary | |
---|---|
T |
getValue()
Starts a lazy calculation. |
T |
invokeIndex(int index)
Calculate the value at an index. |
Methods inherited from class org.shapelogic.streams.BaseListCommonStream |
---|
calcAddNext, get, getCurrentSize, getList, hasNext, hasNextBase, isCached, isRandomAccess, iterator, next, setLastFromInput, setList |
Methods inherited from class org.shapelogic.streams.BaseCommonStream |
---|
getContext, getInContext, getIndex, getLast, getMaxLast, getName, getParentContext, isDeterministic, isDirty, isNullLegalValue, remove, setMaxLast, setNullLegalValue, setup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.shapelogic.calculation.Calc0 |
---|
invoke |
Methods inherited from interface org.shapelogic.streams.ListStream |
---|
getList, setList |
Methods inherited from interface org.shapelogic.streams.NumberedStream |
---|
get, getIndex, getLast, getMaxLast, setMaxLast |
Methods inherited from interface org.shapelogic.calculation.LazyCalc |
---|
isDirty, setup |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Constructor Detail |
---|
public SingleListStream()
Method Detail |
---|
public T invokeIndex(int index)
BaseListCommonStream
invokeIndex
in class BaseListCommonStream<T>
public T getValue()
CalcValue
getValue
in interface CalcValue<T>
getValue
in class BaseCommonStream<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |