public class Pressure extends Quantity implements Comparable<Pressure>
Constructor and Description |
---|
Pressure(Number inValue,
Unit<Pressure> inUnit)
Create an Angle.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Pressure other)
Check quantities for equality.
|
boolean |
equals(Object other)
Check quantities for equality.
|
int |
hashCode() |
String |
toString() |
Unit<Pressure> |
unit()
Get the unit for this quantity.
|
Number |
value()
Get the numerical value of this quantity.
|
Number |
value(Unit<Pressure> inUnit)
Perform a unit conversion.
|
public Number value()
Quantity
public Number value(Unit<Pressure> inUnit)
inUnit
- the unit to convert to.public boolean equals(Object other)
public int compareTo(Pressure other)
compareTo
in interface Comparable<Pressure>
Copyright © 2006–2016 Open Microscopy Environment. All rights reserved.