weka.core
Class Queue.QueueNode
java.lang.Object
|
+--weka.core.Queue.QueueNode
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Queue
- protected class Queue.QueueNode
- extends java.lang.Object
- implements java.io.Serializable
Represents one node in the queue.
- See Also:
- Serialized Form
Constructor Summary |
Queue.QueueNode(java.lang.Object contents)
Creates a queue node with the given contents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_Next
protected Queue.QueueNode m_Next
- The next node in the queue
m_Contents
protected java.lang.Object m_Contents
- The nodes contents
Queue.QueueNode
public Queue.QueueNode(java.lang.Object contents)
- Creates a queue node with the given contents
next
public Queue.QueueNode next(Queue.QueueNode next)
- Sets the next node in the queue, and returns it.
next
public Queue.QueueNode next()
- Gets the next node in the queue.
contents
public java.lang.Object contents(java.lang.Object contents)
- Sets the contents of the node.
contents
public java.lang.Object contents()
- Returns the contents in the node.