Instead of providing porn, you provide access to these.
stop snooping :/
// get successor of node to delete (current)
[b][size=3]String crazy = new String(successor(current.entry.word));[/b][/size]
System.out.println(crazy);
find(word);
// connect parent of current to successor instead
if(current == root) {
root = successor;
}
if (current.right != null) {
System.out.println("minimum(current.right.entry.word): " + minimum(current.right.entry.word));
[b][size=3]return minimum(current.right.entry.word);[/b][/size]
}
if (command.compareTo("delete") == 0) {
dictionary.remove(word);
}
not a class
it's a method
public String minimum(String word) so it gets a word and returns a word
public String successor(String word) so it gets a word and returns a word
String crazy = new String(successor(current.entry.word));
so wtf