net.cscott.sdr.calls
Class TimedPosition
java.lang.Object
net.cscott.sdr.calls.Timed<TimedPosition>
net.cscott.sdr.calls.TimedPosition
- All Implemented Interfaces:
- Comparable<TimedPosition>
public class TimedPosition
- extends Timed<TimedPosition>
A TimedPosition
combines a Position
with
a timestamp indicating when that particular position
should be reached. The timestamp is always absolute.
- Version:
- $Id: TimedPosition.java,v 1.3 2006-10-27 05:14:34 cananian Exp $
- Author:
- C. Scott Ananian
Field Summary |
Position |
position
The dancer position called for at the given time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
public final Position position
- The dancer position called for at the given time.
TimedPosition
public TimedPosition(Position position,
Fraction time,
boolean isAbsolute)
makeAbsolute
public TimedPosition makeAbsolute(Timed<?> reference)
- Description copied from class:
Timed
- Given a reference, make this
Timed
absolute. Returns
this
if the Timed
is already absolute. A null
reference should be treated as one with an absolute time of zero.
- Specified by:
makeAbsolute
in class Timed<TimedPosition>
- Parameters:
reference
- The previous Timed
(must be absolute)
Copyright © 2006-2009 C. Scott Ananian