|
|||||||||
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 |
---|
_contexts, _current, _dirty, _last, _list, _maxLast, _name, _query, _value |
Constructor Summary | |
---|---|
WrappedListStream(java.util.List<E> inputList)
|
|
WrappedListStream(java.util.List<E> inputList,
java.lang.String name)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
E |
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, getValue, 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 |
Constructor Detail |
---|
public WrappedListStream(java.util.List<E> inputList)
public WrappedListStream(java.util.List<E> inputList, java.lang.String name)
Method Detail |
---|
public E invokeIndex(int index)
BaseListCommonStream
invokeIndex
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 |