aim4.vehicle

## Class AccelSchedule.TimeAccel

- java.lang.Object
- - aim4.vehicle.AccelSchedule.TimeAccel

- Enclosing class:
    AccelSchedule

      public static class AccelSchedule.TimeAccel
      extends Object

  The time-acceleration pair.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AccelSchedule.TimeAccel(double time, double acceleration)` Create a time-acceleration pair.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2013. All rights reserved.