coins.flow
Interface ExpVectorIterator

All Superinterfaces:
BitVectorIterator
All Known Subinterfaces:
FlowAnalSymVectorIterator
All Known Implementing Classes:
ExpVectorIteratorImpl, FlowAnalSymVectorIteratorImpl

public interface ExpVectorIterator
extends BitVectorIterator

ExpVectorIterator interface (##6) Interface to traverse all expressions that has true bit in specified ExpVector.


Method Summary
 ExpId nextExpId()
          nextFlowAnalSym Get the next FlowAnalSym symbol that has true bit in the given ExpVector.
 
Methods inherited from interface coins.flow.BitVectorIterator
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 

Method Detail

nextExpId

public ExpId nextExpId()
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.