|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 |
|---|
_context, _current, _dirty, _last, _list, _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, getContext, getCurrentSize, getInContext, getIndex, getLast, getList, getMaxLast, getName, getParentContext, getValue, hasNextBase, isCached, isDeterministic, isDirty, isNullLegalValue, isRandomAccess, iterator, next, remove, setLastFromInput, setList, setMaxLast, setNullLegalValue, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 | ||||||||