protected class Queue.QueueNode extends Object implements Serializable, RevisionHandler
Modifier and Type | Field and Description |
---|---|
protected Object |
m_Contents
The nodes contents
|
protected Queue.QueueNode |
m_Next
The next node in the queue
|
Constructor and Description |
---|
QueueNode(Object contents)
Creates a queue node with the given contents
|
Modifier and Type | Method and Description |
---|---|
Object |
contents()
Returns the contents in the node.
|
Object |
contents(Object contents)
Sets the contents of the node.
|
String |
getRevision()
Returns the revision string.
|
Queue.QueueNode |
next()
Gets the next node in the queue.
|
Queue.QueueNode |
next(Queue.QueueNode next)
Sets the next node in the queue, and returns it.
|
protected Queue.QueueNode m_Next
protected Object m_Contents
public QueueNode(Object contents)
public Queue.QueueNode next(Queue.QueueNode next)
public Queue.QueueNode next()
public Object contents()
public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.