Interface InspectablePositionalContainer

All Superinterfaces:
InspectableContainer
All Known Subinterfaces:
InspectableTree, PositionalContainer, Tree

public interface InspectablePositionalContainer
extends InspectableContainer

A read-only container for a bunch of objects, providing access to positions within the container as well as to the objects themselves.

Author:
Goodrich & Tamassia

Method Summary
 PositionIterator positions()
          get an iterator over all the positions.
 
Methods inherited from interface InspectableContainer
elements, isEmpty, size
 

Method Detail

positions

public PositionIterator positions()
get an iterator over all the positions.
Returns:
a PositionIterator which visits all the positions in unspecified order.


Generated by BlueJ