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