Class CharacterNode

java.lang.Object
  extended by LLNode
      extended by CharacterNode

public class CharacterNode
extends LLNode


Constructor Summary
CharacterNode(Picture pict)
           
 
Method Summary
 void drawWith(Turtle turtle)
           
 LLNode last()
          Don't try to get the last() from a circular list!
 void remove(LLNode node)
          Don't try to remove() from a circular list!
 String toString()
          Method to return a string with informaiton about this node
 
Methods inherited from class LLNode
add, count, getNext, insertAfter, reverse, reverse2, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterNode

public CharacterNode(Picture pict)
Method Detail

remove

public void remove(LLNode node)
Don't try to remove() from a circular list!

Overrides:
remove in class LLNode
Parameters:
node - the element to remove from the list.

last

public LLNode last()
Don't try to get the last() from a circular list!

Overrides:
last in class LLNode
Returns:
the current node

toString

public String toString()
Method to return a string with informaiton about this node

Overrides:
toString in class Object

drawWith

public void drawWith(Turtle turtle)