coins.aflow
Class DefVectorIteratorImpl

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

public class DefVectorIteratorImpl
extends PointVectorIteratorImpl
implements DefVectorIterator

DefVectorIteratorImpl class: (##6)


Field Summary
 
Fields inherited from class coins.aflow.PointVectorIteratorImpl
fVect
 
Constructor Summary
DefVectorIteratorImpl(DefVector pDefVector)
           
 
Method Summary
 IR nextDef()
          nextDef: Get the next IR node that defines some symbol in the given DefVector (DefVector used to instanciate this iterator).
 SetRefRepr nextSetRefRepr()
          Get the SetRefRepr that corresponds to the next bit that is on in this BitVector.
 
Methods inherited from class coins.aflow.PointVectorIteratorImpl
nextPoint
 
Methods inherited from class coins.aflow.util.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.aflow.PointVectorIterator
nextPoint
 
Methods inherited from interface coins.aflow.util.BitVectorIterator
currentIndex, hasNext, next, nextIndex, resetBit, setBit
 

Constructor Detail

DefVectorIteratorImpl

public DefVectorIteratorImpl(DefVector pDefVector)
Method Detail

nextDef

public IR nextDef()
Description copied from interface: DefVectorIterator
nextDef: 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. Therefore, having hasNext returned true does not guarantee this method returns meaningful (non-null) value.

Specified by:
nextDef in interface DefVectorIterator

nextSetRefRepr

public SetRefRepr nextSetRefRepr()
Description copied from interface: DefVectorIterator
Get the SetRefRepr that corresponds to the next bit that is on in this BitVector. This method returns the SetRefRepr object that wraps the node that will be returned by nextDef. If there is no SetRefReprs remaining, then returns null. Therefore, having hasNext returned true does not guarantee this method returns meaningful (non-null) value.

Specified by:
nextSetRefRepr in interface DefVectorIterator