Interface Speed

All Superinterfaces:
Comparable<Speed>, OsidPrimitive, OsidPrimitive, Serializable, Speed

public interface Speed extends OsidPrimitive, Speed

A speed is a distance traveled over a unit of time.

  • Method Details

    • getDistance

      Distance getDistance()
      Gets the distance.
      Returns:
      the distance
      Compliance:
      mandatory - This method must be implemented.
    • getTimeUnit

      DateTimeResolution getTimeUnit()
      Gets the time unit.
      Returns:
      the time unit
      Compliance:
      mandatory - This method must be implemented.