Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.osm
Class Speed

    java.lang.Object
      org.ka2ddo.yaac.osm.Speed

    public class Speed

extends java.lang.Object

This class defines a compound object containing a speed value and the units of speed.

Constructor Summary
`Speed(int speed, DistanceUnit unit)`
`Speed(java.lang.String value)`

Method Summary
`int` | `getSpeed()`
`DistanceUnit` | `getUnit()`
`java.lang.String` | `toString()` Returns a string representation of the object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Speed

    public Speed(java.lang.String value)

### Speed

    public Speed(int speed,
                 DistanceUnit unit)

Method Detail

### getSpeed

    public int getSpeed()

### getUnit

    public DistanceUnit getUnit()

### toString

    public java.lang.String toString()

  Returns a string representation of the object.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    a string representation of the object.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD