Monkey Documentation

Class Node

See the List class for a discussion of list nodes.


Methods:

Method Documentation

Method NextNode : Node ()

Returns the node after this node, or null if this is the last node in the list.

Method PrevNode : Node ()

Returns the node before this node, or null if this is the first node in the list.

Method Remove : Int ()

Removes this node from the list.

This method should only be used once - attempting to remove a node twice will result in a null object error.

Method Value : T ()

Returns the value stored in the node.