JanosVM v0.6.0 Java API Documentation: Class ListNode
|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.utah.janosvm.sys.ListNode
Doubly linked list node. Only to be used via a 'List'
List| Field Summary | |
ListNode |
pred
The predecessor node in the list. |
ListNode |
succ
The successor node in the list. |
| Constructor Summary | |
ListNode()
|
|
| Method Summary | |
void |
append(ListNode ln)
Insert the given node directly after `this'. |
protected java.lang.Object |
clone()
Clone a ListNode. |
void |
prepend(ListNode ln)
Insert the given node directly before `this'. |
void |
remove()
Remove the node from whatever list it is currently on. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public ListNode succ
XXX use an accessor, this should be read-only outside this class.
public ListNode pred
XXX use an accessor, this should be read-only outside this class.
| Constructor Detail |
public ListNode()
| Method Detail |
public void remove()
public void append(ListNode ln)
ln - The node to append.public void prepend(ListNode ln)
ln - The node to prepend.
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public java.lang.String toString()
|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||