public class LinkedListNode<E>
extends java.lang.Object
implements java.io.Serializable
LinkedList,
序列化表格| 限定符和类型 | 字段和说明 |
|---|---|
protected LinkedListNode<E> |
m_next
后一节点。
|
protected E |
m_object
节点的对象。
|
protected LinkedListNode<E> |
m_previous
前一节点。
|
static long |
serialVersionUID |
| 限定符 | 构造器和说明 |
|---|---|
|
LinkedListNode()
默认构造函数。
|
protected |
LinkedListNode(E object,
LinkedListNode<E> next,
LinkedListNode<E> previous)
Constructs a new linked list node.
|
| 限定符和类型 | 方法和说明 |
|---|---|
E |
getObject()
获取对象。
|
long |
getTimeStamp()
获取时间值。
|
LinkedListNode<E> |
next()
返回下一对象。
|
LinkedListNode<E> |
previous()
返回前一对象。
|
void |
setTimeStamp(long timeStamp)
设置时间值。
|
java.lang.String |
toString()
Returns a String representation of the linked list node by calling the
toString method of the node's object.
|
public static final long serialVersionUID
protected LinkedListNode<E> m_previous
protected LinkedListNode<E> m_next
protected E m_object
public LinkedListNode()
protected LinkedListNode(E object, LinkedListNode<E> next, LinkedListNode<E> previous)
object - the Object that the node represents.next - a reference to the next LinkedListNode in the list.previous - a reference to the previous LinkedListNode in the list.public final LinkedListNode<E> previous()
public final LinkedListNode<E> next()
public final E getObject()
public final long getTimeStamp()
public final void setTimeStamp(long timeStamp)
timeStamp - public final java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2001-2014 hynnet.com