next up previous contents
Next: PointCollectionIterator Up: BoardManager Previous: Point

PointCollection

Bruce's implementation for a set of points with all the methods you would expect from such a class (well all the ones needed to implement the board manager).

Implemented as a linked list of PointNodes (hidden from the user but worth knowing for optimisation).

lastPoint() is the quickest method to find the last point put into the set.



P J Leonard
Tue Oct 1 15:25:19 BST 1996