Release Planner v1.0

rp.util.dom
Interface DOMRelation.Endpoint.Iterator

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

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

Used to iterate across the endpoints of a relationship.


Method Summary
 DOMRelation.Endpoint get()
          Re-return the current element in the list.
 DOMRelation.Endpoint next()
          Proceed to the next element in the list and return it.
 DOMRelation.Endpoint 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.Endpoint next()
Proceed to the next element in the list and return it. pre: hasNext()


previous

public DOMRelation.Endpoint 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.Endpoint get()
Re-return the current element in the list. pre: !isReset()


Release Planner v1.0