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