Package | Description |
---|---|
com.ur.urcap.api.domain.value.simple |
Modifier and Type | Method and Description |
---|---|
static Mass.Unit |
Mass.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mass.Unit[] |
Mass.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Mass |
SimpleValueFactory.createMass(double value,
Mass.Unit unit)
Creates an object representing a mass.
|
double |
Mass.getAs(Mass.Unit unit)
Provides the value in specified units.
|
Copyright © 2021. All rights reserved.