org.shapelogic.streams
Class AndListStream

java.lang.Object
  extended by org.shapelogic.streams.BaseCommonStream<E>
      extended by org.shapelogic.streams.BaseListCommonStream<E>
          extended by org.shapelogic.streams.BaseListStreamList<java.lang.Boolean,java.lang.Boolean>
              extended by org.shapelogic.streams.AndListStream
All Implemented Interfaces:
java.lang.Iterable<java.lang.Boolean>, java.util.Iterator<java.lang.Boolean>, CalcList<java.lang.Boolean,java.lang.Boolean>, CalcValue<java.lang.Boolean>, ContextGettable, LazyCalc<java.lang.Boolean>, RecursiveContext, InputStreamList<java.lang.Boolean,java.lang.Boolean>, ListStream<java.lang.Boolean>, NumberedStream<java.lang.Boolean>, Stream<java.lang.Boolean>, StreamProperties

public class AndListStream
extends BaseListStreamList<java.lang.Boolean,java.lang.Boolean>

AndListStream takes a list of Boolean streams and create the and of them.

Author:
Sami Badawi

Field Summary
 
Fields inherited from class org.shapelogic.streams.BaseListStreamList
_inputStream
 
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
AndListStream()
           
 
Method Summary
 java.lang.Boolean invoke(java.util.List<java.lang.Boolean> input)
           
 
Methods inherited from class org.shapelogic.streams.BaseListStreamList
getDimension, getInput, getInputStream, getList, hasNext, invokeIndex, setLastFromInput, setList
 
Methods inherited from class org.shapelogic.streams.BaseListCommonStream
calcAddNext, get, getCurrentSize, hasNextBase, isCached, isRandomAccess, iterator, next
 
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

AndListStream

public AndListStream()
Method Detail

invoke

public java.lang.Boolean invoke(java.util.List<java.lang.Boolean> input)


Copyright © 2009. All Rights Reserved.