Interface PositionIterator


public interface PositionIterator

An Iterator over Positions.

Author:
Goodrich & Tamassia

Method Summary
 boolean hasNext()
          are there any positions left to be visited?
 Position next()
          advance to the next position.
 

Method Detail

hasNext

public boolean hasNext()
are there any positions left to be visited?
Returns:
true iff there is at least one position left.

next

public Position next()
advance to the next position.
Returns:
a Position, the next one in the iteration.


Generated by BlueJ