net.cscott.sdr.calls
Class TimedFormation
java.lang.Object
net.cscott.sdr.calls.Timed<TimedFormation>
net.cscott.sdr.calls.TimedFormation
- All Implemented Interfaces:
- Comparable<TimedFormation>
public class TimedFormation
- extends Timed<TimedFormation>
A TimedFormation
combines a Formation
with a timestamp
indicating when that particular formation should be reached. Timestamps
can be either absolute or relative.
- Version:
- $Id: TimedFormation.java,v 1.2 2006-10-26 17:30:25 cananian Exp $
- Author:
- C. Scott Ananian
formation
public final Formation formation
- The dancer formation called for at the given time.
TimedFormation
public TimedFormation(Formation formation,
Fraction time,
boolean isAbsolute)
makeAbsolute
public TimedFormation 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<TimedFormation>
- Parameters:
reference
- The previous Timed
(must be absolute)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2009 C. Scott Ananian