|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 |
|---|
_contexts, _current, _dirty, _last, _list, _maxLast, _name, _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, getContext, getContexts, getCurrentSize, getInContext, getIndex, getLast, getList, getMaxLast, getName, hasNext, hasNextBase, isCached, isContextBased, isDeterministic, isDirty, isRandomAccess, iterator, next, remove, setList, setMaxLast, 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 BaseListCommonStream<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||