Uses of Class
tech.units.indriya.format.SymbolMap
Packages that use SymbolMap
-
Uses of SymbolMap in tech.units.indriya.format
Fields in tech.units.indriya.format declared as SymbolMapModifier and TypeFieldDescriptionprivate final SymbolMap
EBNFUnitFormat.symbolMap
The symbol map used by this instance to map betweenUnit
s andString
s, etc...private final 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 SymbolMapModifier and TypeMethodDescriptionprotected 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
(ResourceBundle rb) Creates a symbol map from the specified resource bundle,Methods in tech.units.indriya.format with parameters of type SymbolMapModifier and TypeMethodDescription(package private) static int
ConverterFormatter.formatConverter
(javax.measure.UnitConverter converter, boolean continued, int unitPrecedence, 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, 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, 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
(StringBuilder buffer, SymbolMap symbolMap, Prefix prefix) private static int
EBNFHelper.productPrecedenceInternal
(javax.measure.Unit<?> unit, Appendable buffer, SymbolMap symbolMap) Constructors in tech.units.indriya.format with parameters of type SymbolMapModifierConstructorDescriptionprivate
EBNFUnitFormat
(SymbolMap symbols) Private constructor.private
LocalUnitFormat
(SymbolMap symbols) Base constructor. -
Uses of SymbolMap in tech.units.indriya.internal.format
Fields in tech.units.indriya.internal.format declared as SymbolMapModifier and TypeFieldDescriptionprivate SymbolMap
LocalUnitFormatParser.symbols
Deprecated.private SymbolMap
UnitFormatParser.symbols
Constructors in tech.units.indriya.internal.format with parameters of type SymbolMapModifierConstructorDescriptionLocalUnitFormatParser
(SymbolMap symbols, Reader in) Deprecated.UnitFormatParser
(SymbolMap symbols, Reader in)