Class CharNode

java.lang.Object
  extended byLLNode
      extended byCharNode

public class CharNode
extends LLNode


Field Summary
 Picture myPict
          The picture I'm associated with
 
Fields inherited from class LLNode
next
 
Constructor Summary
CharNode(Picture pict)
           
 
Method Summary
 void drawWith(Turtle pen)
           
 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
 

Field Detail

myPict

public Picture myPict
The picture I'm associated with

Constructor Detail

CharNode

public CharNode(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 - element to remove from list.

last

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

Overrides:
last in class LLNode

toString

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


drawWith

public void drawWith(Turtle pen)