|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.actor.util.TimedEvent
public class TimedEvent
This class aggregates an instance of Time and an Object, and provides a CQComparator as an inner class.
CQComparator,
Time
| Red (liuj) |
| Yellow (eal) |
| Nested Class Summary | |
|---|---|
static class |
TimedEvent.TimeComparator
This class implements the CQComparator interface. |
| Field Summary | |
|---|---|
java.lang.Object |
contents
The event object. |
Time |
timeStamp
The time stamp. |
| Constructor Summary | |
|---|---|
TimedEvent(Time time,
java.lang.Object obj)
Construct an event with the specified time stamp and contents. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Display timeStamp and contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Time timeStamp
public java.lang.Object contents
| Constructor Detail |
|---|
public TimedEvent(Time time,
java.lang.Object obj)
time - The time stamp.obj - The contents.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||