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