Package javax.measure.test
Class TestConverter.Pair
Object
TestConverter
Pair
- All Implemented Interfaces:
UnitConverter
- Enclosing class:
- TestConverter
This class represents converters made up of two or more separate converters (in matrix notation
[pair] = [left] x [right]).-
Nested Class Summary
Nested classes/interfaces inherited from class TestConverter
TestConverter.Pair -
Field Summary
Fields inherited from class TestConverter
IDENTITY -
Constructor Summary
ConstructorsConstructorDescriptionPair(UnitConverter left, UnitConverter right) Creates a compound converter resulting from the combined transformation of the specified converters. -
Method Summary
Methods inherited from class TestConverter
concatenate, concatenate, convert
-
Constructor Details
-
Pair
Creates a compound converter resulting from the combined transformation of the specified converters.- Parameters:
left- the left converter.right- the right converter.- Throws:
IllegalArgumentException- if either the left or right converter arenull
-
-
Method Details
-
isLinear
-
isIdentity
- Specified by:
isIdentityin interfaceUnitConverter- Overrides:
isIdentityin classTestConverter
-
getConversionSteps
- Specified by:
getConversionStepsin interfaceUnitConverter- Overrides:
getConversionStepsin classTestConverter
-
inverse
- Specified by:
inversein interfaceUnitConverter- Specified by:
inversein classTestConverter
-
convert
- Specified by:
convertin interfaceUnitConverter- Specified by:
convertin classTestConverter
-
equals
- Specified by:
equalsin classTestConverter
-
hashCode
- Specified by:
hashCodein classTestConverter
-
getLeft
-
getRight
-