aim4.vehicle
Class AccelSchedule.TimeAccel

java.lang.Object
  extended by aim4.vehicle.AccelSchedule.TimeAccel
Enclosing class:
AccelSchedule

public static class AccelSchedule.TimeAccel
extends Object

The time-acceleration pair.


Constructor Summary
AccelSchedule.TimeAccel(double time, double acceleration)
          Create a time-acceleration pair.
 
Method Summary
 double getAcceleration()
          Get the acceleration.
 double getTime()
          Get the time.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccelSchedule.TimeAccel

public AccelSchedule.TimeAccel(double time,
                               double acceleration)
Create a time-acceleration pair.

Parameters:
time - the time
acceleration - the acceleration
Method Detail

getTime

public double getTime()
Get the time.

Returns:
the time

getAcceleration

public double getAcceleration()
Get the acceleration.

Returns:
the acceleration

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.