serp.util
Class SimpleLinkedList.Entry
java.lang.Object
|
+--serp.util.SimpleLinkedList.Entry
- Enclosing class:
- SimpleLinkedList
- public static class SimpleLinkedList.Entry
- extends Object
Doubly linked list element building block.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
protected Object value
- The data at this position in the linked list.
next
protected SimpleLinkedList.Entry next
- The next element in the linked list.
null
if
this is the last element in the linked list.
prev
protected SimpleLinkedList.Entry prev
- The previous element in the linked list.
null
if this is the first element in the linked list.
SimpleLinkedList.Entry
public SimpleLinkedList.Entry(Object val)
- Create a new Entry object for
val
.
getValue
public Object getValue()
setNext
protected void setNext(SimpleLinkedList.Entry val)
getNext
public SimpleLinkedList.Entry getNext()
setPrev
protected void setPrev(SimpleLinkedList.Entry val)
getPrev
public SimpleLinkedList.Entry getPrev()
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.