According to the List of physical quantities (Wikipedia) most of them have a symbol. Could Quantity also use a getSymbol() method similar to Unit? As it's an interface it may have to be a default method on those interfaces, but it would work since Java 8, while detremental to code coverage of those interfaces, but affected elements or packages could be ignored where necessary.
According to the List of physical quantities (Wikipedia) most of them have a symbol. Could
Quantity
also use agetSymbol()
method similar toUnit
? As it's an interface it may have to be adefault
method on those interfaces, but it would work since Java 8, while detremental to code coverage of those interfaces, but affected elements or packages could be ignored where necessary.