final class UCUMSystemService
extends java.lang.Object
implements javax.measure.spi.SystemOfUnitsService, tec.uom.lib.common.function.IntPrioritySupplier
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.String> |
aliases |
private static java.lang.String |
DEFAULT_SYSTEM_NAME |
(package private) static int |
PRIO |
private java.util.Map<java.lang.String,javax.measure.spi.SystemOfUnits> |
souMap |
| Constructor and Description |
|---|
UCUMSystemService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<javax.measure.spi.SystemOfUnits> |
getAvailableSystemsOfUnits() |
int |
getPriority() |
javax.measure.spi.SystemOfUnits |
getSystemOfUnits() |
javax.measure.spi.SystemOfUnits |
getSystemOfUnits(java.lang.String name) |
static final int PRIO
private static final java.lang.String DEFAULT_SYSTEM_NAME
private final java.util.Map<java.lang.String,javax.measure.spi.SystemOfUnits> souMap
private final java.util.Map<java.lang.String,java.lang.String> aliases
public java.util.Collection<javax.measure.spi.SystemOfUnits> getAvailableSystemsOfUnits()
getAvailableSystemsOfUnits in interface javax.measure.spi.SystemOfUnitsServicepublic javax.measure.spi.SystemOfUnits getSystemOfUnits()
getSystemOfUnits in interface javax.measure.spi.SystemOfUnitsServicepublic javax.measure.spi.SystemOfUnits getSystemOfUnits(java.lang.String name)
getSystemOfUnits in interface javax.measure.spi.SystemOfUnitsServicepublic int getPriority()
getPriority in interface tec.uom.lib.common.function.IntPrioritySupplier