public interface Speed
This interface represents speed values.
The speed values can be created using theSimpleValueFactory interface.| Modifier and Type | Interface and Description |
|---|---|
static class |
Speed.Unit |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other
Speed object is "equal to" this one. |
double |
getAs(Speed.Unit unit)
Provides the value in specified units.
|
int |
hashCode() |
String |
toString() |
double getAs(Speed.Unit unit)
unit - the unit type.double value in specified units.int hashCode()
boolean equals(Object obj)
Speed object is "equal to" this one.Copyright © 2021. All rights reserved.