i am aware what the deal is with threads/CME but why is this code throwing an exception:
the method successors, takes the current state and adds all possible moves (making the move and saving the state) to an ArrayList and returns an Iterator. the line thats showing up as the trouble maker is the assignemnt, Node successor = (Node) it.next();.
i'm sure i've used this sort of thing in a while loop before and not had these issues.
any help is highely valued,
thanks - matt...