coins.flow
Class ExpVectorIteratorImpl

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

public class ExpVectorIteratorImpl
extends BitVectorIteratorImpl
implements ExpVectorIterator

ExpVectorIteratorImpl class (##6)


Field Summary
 
Fields inherited from class coins.flow.BitVectorIteratorImpl
fBitCount, fBitPosition, fBitVector, fLongWordLength, fShiftMax, fSubpFlow, fVectorWord
 
Constructor Summary
ExpVectorIteratorImpl(SubpFlow pSubpFlow, ExpVector pExpVector)
           
 
Method Summary
 ExpId nextExpId()
          nextFlowAnalSym Get the next FlowAnalSym symbol that has true bit in the given ExpVector.
 
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.BitVectorIterator
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 

Constructor Detail

ExpVectorIteratorImpl

public ExpVectorIteratorImpl(SubpFlow pSubpFlow,
                             ExpVector pExpVector)
Method Detail

nextExpId

public ExpId nextExpId()
Description copied from interface: ExpVectorIterator
nextFlowAnalSym Get the next FlowAnalSym symbol that has true bit in the given ExpVector. FlowAnalSym that have false bit in the ExpVector are skipped. If the last FlowAnalSym has false bit , then null is returned at the last time. Therefore, having hasNext returned true does not guarantee this method returns meaningful (non-null) value.

Specified by:
nextExpId in interface ExpVectorIterator