coins.aflow
Class SetRefReprListHir.SetRefReprListHirItr

java.lang.Object
  extended bycoins.aflow.util.CoinsList.Itr
      extended bycoins.aflow.SetRefReprListHir.SetRefReprListHirItr
All Implemented Interfaces:
CoinsIterator, java.util.Iterator, java.util.ListIterator, SetRefReprIterator
Enclosing class:
SetRefReprListHir

protected class SetRefReprListHir.SetRefReprListHirItr
extends CoinsList.Itr
implements SetRefReprIterator


Field Summary
 
Fields inherited from class coins.aflow.util.CoinsList.Itr
expectedModCount, lastReturned, lNexted, next, nextIndex
 
Constructor Summary
(package private) SetRefReprListHir.SetRefReprListHirItr(int pIndex)
           
 
Method Summary
 void add(IR pIR)
          Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#add(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.
 void addAfter(IR pIR)
          Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the {link coins.aflow.util.CoinsIterator#addAfter(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.
 void remove()
          Removes a SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#remove()}, and in the case of HIR, also removes the subtree associated with the removed SetRefRepr.
 
Methods inherited from class coins.aflow.util.CoinsList.Itr
add, addAfter, checkForComodification, hasNext, hasPrevious, lastReturned, next, nextIndex, previous, previousIndex, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface coins.aflow.util.CoinsIterator
add, addAfter, next, nextIndex, previous, previousIndex
 
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, set
 

Constructor Detail

SetRefReprListHir.SetRefReprListHirItr

SetRefReprListHir.SetRefReprListHirItr(int pIndex)
Method Detail

remove

public void remove()
Description copied from interface: SetRefReprIterator
Removes a SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#remove()}, and in the case of HIR, also removes the subtree associated with the removed SetRefRepr.

Specified by:
remove in interface SetRefReprIterator
Overrides:
remove in class CoinsList.Itr

add

public void add(IR pIR)
Description copied from interface: SetRefReprIterator
Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the { coins.aflow.util.CoinsIterator#add(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.

Specified by:
add in interface SetRefReprIterator

addAfter

public void addAfter(IR pIR)
Description copied from interface: SetRefReprIterator
Creates a SetRefRepr that encloses the given IR object (subtree), and adds the generated SetRefRepr as per to the contract of the {link coins.aflow.util.CoinsIterator#addAfter(Object)}, and in the case of HIR, also adds the given IR subtree to the appropriate context within the HIR program tree.

Specified by:
addAfter in interface SetRefReprIterator