Class CharNode
java.lang.Object
LLNode
CharNode
- public class CharNode
- extends LLNode
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 |
myPict
public Picture myPict
- The picture I'm associated with
CharNode
public CharNode(Picture pict)
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)