weka.core
Class Queue.QueueNode

java.lang.Object
  extended byweka.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

Field Summary
protected  java.lang.Object m_Contents
          The nodes contents
protected  Queue.QueueNode m_Next
          The next node in the queue
 
Constructor Summary
Queue.QueueNode(java.lang.Object contents)
          Creates a queue node with the given contents
 
Method Summary
 java.lang.Object contents()
          Returns the contents in the node.
 java.lang.Object contents(java.lang.Object contents)
          Sets the contents of the node.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Next

protected Queue.QueueNode m_Next
The next node in the queue


m_Contents

protected java.lang.Object m_Contents
The nodes contents

Constructor Detail

Queue.QueueNode

public Queue.QueueNode(java.lang.Object contents)
Creates a queue node with the given contents

Method Detail

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.