|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.colorado.cs.ns2.animation.TraceEventNode
public class TraceEventNode
This class stores a Trace Event Node which is used to implement a Queue ADT.
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 |
---|
private TraceEventNode next
private TraceEvent event
Constructor Detail |
---|
public TraceEventNode()
Method Detail |
---|
public TraceEvent getEvent()
public void setEvent(TraceEvent event)
Trace
- Eventpublic TraceEventNode getNext()
public void setNext(TraceEventNode next)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |