| Modifier and Type | Method and Description |
|---|---|
| public AbstractConverter | compose(AbstractConverter left, AbstractConverter right, BiPredicate<AbstractConverter, AbstractConverter> canReduce, BinaryOperator<AbstractConverter> doReduce)
Takes two converters compose(left, right) === left o right Implementation Note: Instead of using AbstractConverter as parameter and result types, this could be generalized to UnitConverter, but that would require some careful changes within AbstractConverter itself. |
| public static ConverterCompositionHandler | Returns: the default built-in UnitCompositionHandler which is yielding a normal-form, required to decide whether two UnitConverters are equivalent
|
| compose | back to summary |
|---|---|
| public AbstractConverter compose(AbstractConverter left, AbstractConverter right, BiPredicate<AbstractConverter, AbstractConverter> canReduce, BinaryOperator<AbstractConverter> doReduce) Takes two converters compose(left, right) === left o right Implementation Note: Instead of using AbstractConverter as parameter and result types, this could be generalized to UnitConverter, but that would require some careful changes within AbstractConverter itself. | |
| yieldingNormalForm | back to summary |
|---|---|
public static ConverterCompositionHandler yieldingNormalForm()
| |