Package | Description |
---|---|
tech.units.indriya.function |
This package provides functional interfaces and other functions including unit or quantity conversion.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PowerOfIntConverter |
UnitConverter for numbers in base^exponent representation.
|
class |
RationalConverter |
This class represents a converter multiplying numeric values by an exact scaling factor (represented as the quotient of two
BigInteger
numbers). |
Modifier and Type | Method | Description |
---|---|---|
static MultiplyConverter |
MultiplyConverter.identity() |
Returns a MultiplyConverter that acts as a 'pass-through'.
|
static MultiplyConverter |
MultiplyConverter.of(double factor) |
Creates a MultiplyConverter with the specified constant factor.
|
static MultiplyConverter |
MultiplyConverter.of(Number factor) |
Creates a MultiplyConverter with the specified constant factor.
|
static MultiplyConverter |
MultiplyConverter.ofExponent(int base,
int exponent) |
Creates a MultiplyConverter with the specified base and exponent.
|
static MultiplyConverter |
MultiplyConverter.ofPiExponent(int exponent) |
Creates a MultiplyConverter with the specified exponent of Pi.
|
static MultiplyConverter |
MultiplyConverter.ofPrefix(javax.measure.Prefix prefix) |
Creates a MultiplyConverter with the specified Prefix.
|
static MultiplyConverter |
MultiplyConverter.ofRational(long dividend,
long divisor) |
Creates a MultiplyConverter with the specified rational factor made up of
dividend and divisor |
static MultiplyConverter |
MultiplyConverter.ofRational(BigInteger dividend,
BigInteger divisor) |
Creates a MultiplyConverter with the specified rational factor made up of
dividend and divisor |
static MultiplyConverter |
MultiplyConverter.ofRational(RationalNumber factor) |
|
static MultiplyConverter |
MultiplyConverter.ofTenExponent(int exponent) |
Creates a MultiplyConverter with base 10 and an exponent.
|
Copyright © 2005–2020 Units of Measurement project. All rights reserved.