Hi,
I am still trying to figure out this method compareTo.
Node2.java implements Comparable. So, in using Node2 to cast in the comparison, I would think that I'm fulfilling the obligation to use a Comparable object to do that. Everything I am comparing is an Object, so I can't see what the problem is. The 3 compiler errors are "can't resolve symbol."
Thanks!
Here is Node2, which contains the compareTo method, making the Node2 type Comparable.
Here is Noding6, which extends Node2 and implements compareTo.
[ October 18, 2002: Message edited by: Doug Wolfinger ]