I've never heard of Maude. I've been out of school for a long time.
Type: Posts; User: Norm
I've never heard of Maude. I've been out of school for a long time.
That's a contradiction. The constructor to the Node class would be Node. add would be a method.
Normally the Node class is very simple. I don't know what an add() method in a Node class would do....
For hints you could read the API doc for existing Java SE classes.
One difference could be add(aNode) goes at the end, insert(aNode, afterNode) would insert aNode after afterNode.
For hints you could read the API doc for existing Java SE classes.
One difference could be add(aNode) goes at the end, insert(aNode, afterNode) would insert aNode after afterNode.