I'm getting a "java.lang.string cannot be cast to node" exception. I thought of converting the localRoot to a string using a provided toString method then comparing them, nut this leaves no concept of 'greater than' or 'less than' which I need to navigate the BST...
int computeResult = ((Node<E>)o).compareTo(localRoot);
where o is of type Object localRoot is of type Node compareTo method takes a Node