coins.flow
Class FlowAnalSymVectorIteratorImpl

java.lang.Object
  extended bycoins.flow.BitVectorIteratorImpl
      extended bycoins.flow.ExpVectorIteratorImpl
          extended bycoins.flow.FlowAnalSymVectorIteratorImpl
All Implemented Interfaces:
BitVectorIterator, ExpVectorIterator, FlowAnalSymVectorIterator

public class FlowAnalSymVectorIteratorImpl
extends ExpVectorIteratorImpl
implements FlowAnalSymVectorIterator


Field Summary
 
Fields inherited from class coins.flow.BitVectorIteratorImpl
fBitCount, fBitPosition, fBitVector, fLongWordLength, fShiftMax, fSubpFlow, fVectorWord
 
Constructor Summary
FlowAnalSymVectorIteratorImpl(FlowAnalSymVector pFlowAnalSymVector)
          Creates a new instance of FlowAnalSymVectorIteratorImpl
 
Method Summary
 FlowAnalSym nextFlowAnalSym()
          Gets next FlowAnalSym whose bit is set in the underlying FlowAnalSymVector and advances the implicit cursor just after the bit that is found to be set.
 
Methods inherited from class coins.flow.ExpVectorIteratorImpl
nextExpId
 
Methods inherited from class coins.flow.BitVectorIteratorImpl
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface coins.flow.ExpVectorIterator
nextExpId
 
Methods inherited from interface coins.flow.BitVectorIterator
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 

Constructor Detail

FlowAnalSymVectorIteratorImpl

public FlowAnalSymVectorIteratorImpl(FlowAnalSymVector pFlowAnalSymVector)
Creates a new instance of FlowAnalSymVectorIteratorImpl

Method Detail

nextFlowAnalSym

public FlowAnalSym nextFlowAnalSym()
Description copied from interface: FlowAnalSymVectorIterator
Gets next FlowAnalSym whose bit is set in the underlying FlowAnalSymVector and advances the implicit cursor just after the bit that is found to be set. If there is no such bit remaining, returns null. hasNext() returning true does not guarantee this method returns non-null value, since hasNext() merely check against the length of the BitVector.

Specified by:
nextFlowAnalSym in interface FlowAnalSymVectorIterator