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