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