ch.aplu.nxt
Class CQueueData

java.lang.Object
  extended by ch.aplu.nxt.CQueueData

public class CQueueData
extends java.lang.Object

Structured data for the circular queue. This implementation groups a pair of integer to be used to exchange data in the Transceiver class.

See Also:
CQueue, Transceiver

Field Summary
 int label
          Second member of the integer pair.
 int state
          First member of the integer pair.
 
Constructor Summary
CQueueData(CQueueData fd)
          Creates a clone of the given data.
CQueueData(int state, int label)
          Creates a class instance with given integer pair.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

public int state
First member of the integer pair.


label

public int label
Second member of the integer pair.

Constructor Detail

CQueueData

public CQueueData(int state,
                  int label)
Creates a class instance with given integer pair.

Parameters:
state - the first member of the pair
label - the second member of the pair

CQueueData

public CQueueData(CQueueData fd)
Creates a clone of the given data.

Parameters:
fd - the CQueueData instance to be cloned.