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