ptolemy.actor.lib.hoc
Class RealTimeComposite.InputFrame
java.lang.Object
ptolemy.actor.lib.hoc.RealTimeComposite.InputFrame
- All Implemented Interfaces:
- java.lang.Comparable<java.util.concurrent.Delayed>, java.util.concurrent.Delayed
- Enclosing class:
- RealTimeComposite
private class RealTimeComposite.InputFrame
- extends java.lang.Object
- implements java.util.concurrent.Delayed
Bundle of a token and the input port at which it arrived.
Use null for theTokens specifies this frame as a "stop frame" to
flag that no more inputs will be delivered.
Method Summary |
int |
compareTo(java.util.concurrent.Delayed frame)
|
long |
getDelay(java.util.concurrent.TimeUnit unit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
time
public final Time time
tokens
public final java.util.List<RealTimeComposite.QueuedToken> tokens
RealTimeComposite.InputFrame
public RealTimeComposite.InputFrame(Time theTime,
java.util.List<RealTimeComposite.QueuedToken> theTokens)
getDelay
public long getDelay(java.util.concurrent.TimeUnit unit)
- Specified by:
getDelay
in interface java.util.concurrent.Delayed
compareTo
public int compareTo(java.util.concurrent.Delayed frame)
- Specified by:
compareTo
in interface java.lang.Comparable<java.util.concurrent.Delayed>