edu.lhup.ai.tictactoe
Class MoveIterator
java.lang.Object
|
+--edu.lhup.ai.tictactoe.MoveIterator
- All Implemented Interfaces:
- Iterator
- class MoveIterator
- extends Object
- implements Iterator
Iterates all of the currently legal moves in a
tic-tac-toe game
This software is for educational purposes only.
- Author:
- Mark Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveIterator
public MoveIterator(Board board)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator