public final class Length extends Object implements Serializable
Constructor and Description |
---|
Length(LengthUnit unit,
double value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Float |
getNormalizedValue() |
LengthUnit |
getUnit() |
double |
getValue() |
int |
hashCode() |
static Length |
parseLength(String s) |
String |
toString() |
public Length(LengthUnit unit, double value)
public double getValue()
public Float getNormalizedValue()
public LengthUnit getUnit()
public static Length parseLength(String s) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017 Hitachi Vantara. All rights reserved.