| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AbstractConverter | compose(AbstractConverter a, AbstractConverter b, BiPredicate<AbstractConverter, AbstractConverter> canReduce, BinaryOperator<AbstractConverter> doReduce)
Implements tech. 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. |
| private boolean | |
| private boolean |
| normalFormOrder | back to summary |
|---|---|
| private final Map<Class<? extends AbstractConverter>, Integer> normalFormOrder | |
| UnitCompositionHandlerYieldingNormalForm | back to summary |
|---|---|
| public UnitCompositionHandlerYieldingNormalForm() | |
| compose | back to summary |
|---|---|
| public AbstractConverter compose(AbstractConverter a, AbstractConverter b, BiPredicate<AbstractConverter, AbstractConverter> canReduce, BinaryOperator<AbstractConverter> doReduce) Implements tech. Doc from tech. 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.
| |
| isNormalFormOrderWhenCommutative | back to summary |
|---|---|
| private boolean isNormalFormOrderWhenCommutative(AbstractConverter a, AbstractConverter b) | |
| isNormalFormOrderWhenIdentity | back to summary |
|---|---|
| private boolean isNormalFormOrderWhenIdentity(AbstractConverter a, AbstractConverter b) | |