|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.shapelogic.streams.BaseCommonStream<E>
org.shapelogic.streams.BaseListCommonStream<E>
org.shapelogic.streams.WrappedListStream<E>
public class WrappedListStream<E>
Wraps a stream around a list.
| 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 | |
|---|---|
WrappedListStream(java.util.List<E> inputList)
|
|
WrappedListStream(java.util.List<E> inputList,
java.lang.String name,
RecursiveContext recursiveContext)
|
|
| Method Summary | |
|---|---|
E |
get(int index)
Get next element without advancing _current. |
boolean |
hasNext()
|
E |
invokeIndex(int index)
Calculate the value at an index. |
| Methods inherited from class org.shapelogic.streams.BaseListCommonStream |
|---|
calcAddNext, getCurrentSize, getList, hasNextBase, isCached, isRandomAccess, iterator, next, setLastFromInput, setList |
| Methods inherited from class org.shapelogic.streams.BaseCommonStream |
|---|
getContext, getInContext, getIndex, getLast, getMaxLast, getName, getParentContext, getValue, 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.streams.NumberedStream |
|---|
getIndex, getLast, getMaxLast, setMaxLast |
| Methods inherited from interface org.shapelogic.calculation.LazyCalc |
|---|
isDirty, setup |
| Methods inherited from interface org.shapelogic.calculation.CalcValue |
|---|
getValue |
| Methods inherited from interface java.util.Iterator |
|---|
remove |
| Constructor Detail |
|---|
public WrappedListStream(java.util.List<E> inputList)
public WrappedListStream(java.util.List<E> inputList,
java.lang.String name,
RecursiveContext recursiveContext)
| Method Detail |
|---|
public E invokeIndex(int index)
BaseListCommonStream
invokeIndex in class BaseListCommonStream<E>public E get(int index)
BaseListCommonStream
get in interface NumberedStream<E>get in class BaseListCommonStream<E>public boolean hasNext()
hasNext in interface java.util.Iterator<E>hasNext in class BaseListCommonStream<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||