Package | Description |
---|---|
ome.model.units |
Modifier and Type | Class and Description |
---|---|
static class |
Conversion.Add
Sums all
Conversion instances via BigDecimal.add(BigDecimal) . |
static class |
Conversion.Int
Simply is a representation of a possibly large integer.
|
static class |
Conversion.Mul
Multiplies all
Conversion instances via
BigDecimal.multiply(BigDecimal) . |
static class |
Conversion.Pow
Exponentiates two
Conversion instances via
BigDecimal.pow(int) . |
static class |
Conversion.Rat
Divides two
Conversion instances via
BigDecimal.divide(BigDecimal, MathContext) . |
static class |
Conversion.Sym
Simply represents the variable of the source unit so that
Conversion.Sym.convert(double) just returns the value passed in. |
Modifier and Type | Field and Description |
---|---|
protected Conversion[] |
Conversion.conversions
Conversions, if any, which are passed into the constructor
of this instance.
|
Modifier and Type | Method and Description |
---|---|
static Conversion |
Conversion.Add(Conversion... conversions)
Static helper for creating
Conversion.Add instances. |
static Conversion |
Conversion.Int(long i)
Static helper for creating
Conversion.Int instances. |
static Conversion |
Conversion.Int(String i)
Static helper for creating
Conversion.Int instances. |
static Conversion |
Conversion.Mul(Conversion... conversions)
Static helper for creating
Conversion.Mul instances. |
static Conversion |
Conversion.Pow(long num,
int den)
Static helper for creating
Conversion.Pow instances. |
static Conversion |
Conversion.Rat(Conversion... conversions)
Static helper for creating
Conversion.Rat instances. |
static Conversion |
Conversion.Rat(long num,
long den)
Static helper for creating
Conversion.Rat instances. |
static Conversion |
Conversion.Sym(String sym)
Static helper for creating
Conversion.Sym instances. |
Modifier and Type | Method and Description |
---|---|
static Conversion |
Conversion.Add(Conversion... conversions)
Static helper for creating
Conversion.Add instances. |
static Conversion |
Conversion.Mul(Conversion... conversions)
Static helper for creating
Conversion.Mul instances. |
static Conversion |
Conversion.Rat(Conversion... conversions)
Static helper for creating
Conversion.Rat instances. |
Constructor and Description |
---|
Add(Conversion[] conversions) |
Conversion(Conversion... conversions)
Primary constructor for a
Conversion object. |
Mul(Conversion[] conversions) |
Rat(Conversion... conversions) |
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.