Release Planner v1.0

rp.util.dom
Interface DOMRelation.Instance.Iterator

All Superinterfaces:
TwoList.Iterator
Enclosing interface:
DOMRelation.Instance

public static interface DOMRelation.Instance.Iterator
extends TwoList.Iterator

Used to iterate across the instances of a relationship.


Method Summary
 DOMRelation.Instance get()
          Re-return the current element in the list.
 DOMRelation.Instance next()
          Proceed to the next element in the list and return it.
 DOMRelation.Instance previous()
          Backtrack to the previous element in the list and return it.
 
Methods inherited from interface rp.util.TwoList.Iterator
getTwoList, goNext, goPrevious, hasNext, hasPrevious, isReset, reset
 

Method Detail

next

public DOMRelation.Instance next()
Proceed to the next element in the list and return it. pre: hasNext()


previous

public DOMRelation.Instance previous()
Backtrack to the previous element in the list and return it. If isReset() then moves to the last node. pre: hasPrevious()


get

public DOMRelation.Instance get()
Re-return the current element in the list. pre: !isReset()


Release Planner v1.0