Uses of Class
tech.units.indriya.format.SymbolMap
-
Packages that use SymbolMap Package Description tech.units.indriya.format tech.units.indriya.internal.format -
-
Uses of SymbolMap in tech.units.indriya.format
Fields in tech.units.indriya.format declared as SymbolMap Modifier and Type Field Description private SymbolMap
EBNFUnitFormat. symbolMap
The symbol map used by this instance to map betweenUnit
s andString
s, etc...private SymbolMap
LocalUnitFormat. symbolMap
The symbol map used by this instance to map betweenUnit
s andString
s, etc...Methods in tech.units.indriya.format that return SymbolMap Modifier and Type Method Description protected abstract SymbolMap
AbstractUnitFormat. getSymbols()
Returns theSymbolMap
for this unit format.protected SymbolMap
EBNFUnitFormat. getSymbols()
Get the symbol map used by this instance to map betweenUnit
s andString
s, etc...protected SymbolMap
LocalUnitFormat. getSymbols()
Get the symbol map used by this instance to map betweenUnit
s andString
s, etc...protected SymbolMap
SimpleUnitFormat.DefaultFormat. getSymbols()
static SymbolMap
SymbolMap. of(java.util.ResourceBundle rb)
Creates a symbol map from the specified resource bundle,Methods in tech.units.indriya.format with parameters of type SymbolMap Modifier and Type Method Description (package private) static int
ConverterFormatter. formatConverter(javax.measure.UnitConverter converter, boolean continued, int unitPrecedence, java.lang.StringBuilder buffer, SymbolMap symbolMap)
Formats the given converter to the given StringBuilder and returns the operator precedence of the converter's mathematical operation.private static void
EBNFHelper. formatExponent(javax.measure.Unit<?> unit, int pow, int root, boolean continued, java.lang.Appendable buffer, SymbolMap symbolMap)
Format the given unit raised to the given fractional power to the givenStringBuffer
.(package private) static int
EBNFHelper. formatInternal(javax.measure.Unit<?> unit, java.lang.Appendable buffer, SymbolMap symbolMap)
Format the given unit to the given StringBuffer, then return the operator precedence of the outermost operator in the unit expression that was formatted.static EBNFUnitFormat
EBNFUnitFormat. getInstance(SymbolMap symbols)
Returns an instance for the given symbol map.static LocalUnitFormat
LocalUnitFormat. getInstance(SymbolMap symbols)
Returns an instance for the given symbol map.private static int
ConverterFormatter. noopPrecedence(java.lang.StringBuilder buffer, SymbolMap symbolMap, Prefix prefix)
private static int
EBNFHelper. productPrecedenceInternal(javax.measure.Unit<?> unit, java.lang.Appendable buffer, SymbolMap symbolMap)
Constructors in tech.units.indriya.format with parameters of type SymbolMap Constructor Description EBNFUnitFormat(SymbolMap symbols)
Private constructor.LocalUnitFormat(SymbolMap symbols)
Base constructor. -
Uses of SymbolMap in tech.units.indriya.internal.format
Fields in tech.units.indriya.internal.format declared as SymbolMap Modifier and Type Field Description private SymbolMap
LocalUnitFormatParser. symbols
Deprecated.private SymbolMap
UnitFormatParser. symbols
Constructors in tech.units.indriya.internal.format with parameters of type SymbolMap Constructor Description LocalUnitFormatParser(SymbolMap symbols, java.io.Reader in)
Deprecated.UnitFormatParser(SymbolMap symbols, java.io.Reader in)
-