edu.colorado.cs.ns2.animation
Class TraceEventNode

java.lang.Object
  extended by edu.colorado.cs.ns2.animation.TraceEventNode

public class TraceEventNode
extends java.lang.Object

This class stores a Trace Event Node which is used to implement a Queue ADT.

Author:
Kevin Bauer, Pushkar Sambhoos.

Field Summary
private  TraceEvent event
          The TraceEvent at the current node.
private  TraceEventNode next
          A reference to the next TraceEventNode in the Queue.
 
Constructor Summary
TraceEventNode()
          Default constructor.
 
Method Summary
 TraceEvent getEvent()
          Get the Trace Event at the current node.
 TraceEventNode getNext()
          Get the next Trace Event from the current node.
 void setEvent(TraceEvent event)
          Set the Trace Event at the current node.
 void setNext(TraceEventNode next)
          Set the Next Trace Event in the List.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

private TraceEventNode next
A reference to the next TraceEventNode in the Queue.


event

private TraceEvent event
The TraceEvent at the current node.

Constructor Detail

TraceEventNode

public TraceEventNode()
Default constructor.

Method Detail

getEvent

public TraceEvent getEvent()
Get the Trace Event at the current node.

Returns:
Trace Event

setEvent

public void setEvent(TraceEvent event)
Set the Trace Event at the current node.

Parameters:
Trace - Event

getNext

public TraceEventNode getNext()
Get the next Trace Event from the current node.

Returns:
The next Trace Event.

setNext

public void setNext(TraceEventNode next)
Set the Next Trace Event in the List.