public class Unit<Q extends Quantity> extends Object
Modifier and Type | Field and Description |
---|---|
private String |
measurementSystem |
private Double |
offset |
private Double |
scaleFactor |
private String |
symbol |
Modifier | Constructor and Description |
---|---|
private |
Unit(String inSystem,
String inSymbol,
Double inScaleFactor,
Double inOffset) |
Modifier and Type | Method and Description |
---|---|
Unit<Q> |
add(Double scalar) |
Unit<Q> |
add(Integer scalar) |
Double |
convertValue(Number inValue,
Unit<Q> inUnit) |
static <Q extends Quantity> |
CreateBaseUnit(String inMeasurementSystem,
String inSymbol) |
Unit<Q> |
divide(Double scalar) |
Unit<Q> |
divide(Integer scalar) |
Double |
getOffset() |
Double |
getScaleFactor() |
String |
getSymbol() |
Boolean |
isConvertible(Unit<Q> inUnit) |
Unit<Q> |
multiply(Double scalar) |
Unit<Q> |
multiply(Integer scalar) |
Unit<Q> |
prefixSymbol(String prefix) |
Unit<Q> |
setSymbol(String inSymbol) |
private final String measurementSystem
private final String symbol
private final Double scaleFactor
private final Double offset
Copyright © 2015 Open Microscopy Environment