Pressure
public final class Pressure implements Comparable
Represents a unit of pressure. Supported units:
-
millimeters of Mercury (mmHg) - see
Pressure.millimetersOfMercury,Double.millimetersOfMercury.
Summary
Public methods |
|
|---|---|
int |
|
boolean |
|
final double |
Returns the pressure in millimeters of Mercury (mmHg). |
int |
hashCode() |
static final @NonNull Pressure |
millimetersOfMercury(double value)Creates |
@NonNull String |
toString() |
Public methods
getMillimetersOfMercury
Added in 1.1.0
public final double getMillimetersOfMercury()
Returns the pressure in millimeters of Mercury (mmHg).
millimetersOfMercury
Added in 1.1.0
public static final @NonNull Pressure millimetersOfMercury(double value)
Creates Pressure with the specified value in millimeters of Mercury (mmHg).