coins.flow
Class DefVectorIteratorImpl

java.lang.Object
  extended bycoins.flow.BitVectorIteratorImpl
      extended bycoins.flow.PointVectorIteratorImpl
          extended bycoins.flow.DefVectorIteratorImpl
All Implemented Interfaces:
BitVectorIterator, DefVectorIterator, PointVectorIterator

public class DefVectorIteratorImpl
extends PointVectorIteratorImpl
implements DefVectorIterator

DefVectorIteratorImpl class ()


Field Summary
 
Fields inherited from class coins.flow.BitVectorIteratorImpl
fBitCount, fBitPosition, fBitVector, fLongWordLength, fShiftMax, fSubpFlow, fVectorWord
 
Constructor Summary
DefVectorIteratorImpl(SubpFlow pSubpFlow, DefVector pDefVector)
           
 
Method Summary
 IR nextDefNode()
          nextDefNode Get the next IR node that defines some symbol in the given DefVector (DefVector used to instanciate this iterator).
 SetRefRepr nextSetRefRepr()
           
 
Methods inherited from class coins.flow.PointVectorIteratorImpl
nextPoint
 
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.PointVectorIterator
nextPoint
 
Methods inherited from interface coins.flow.BitVectorIterator
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 

Constructor Detail

DefVectorIteratorImpl

public DefVectorIteratorImpl(SubpFlow pSubpFlow,
                             DefVector pDefVector)
Method Detail

nextDefNode

public IR nextDefNode()
Description copied from interface: DefVectorIterator
nextDefNode Get the next IR node that defines some symbol in the given DefVector (DefVector used to instanciate this iterator). Nodes that have 0 in the DefVector are skipped. If the last node is not a defining node, then null is returned at the last time.

Specified by:
nextDefNode in interface DefVectorIterator

nextSetRefRepr

public SetRefRepr nextSetRefRepr()
Specified by:
nextSetRefRepr in interface DefVectorIterator