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 SymbolMapEBNFUnitFormat. symbolMapThe symbol map used by this instance to map betweenUnits andStrings, etc...private SymbolMapLocalUnitFormat. symbolMapThe symbol map used by this instance to map betweenUnits andStrings, etc...Methods in tech.units.indriya.format that return SymbolMap Modifier and Type Method Description protected abstract SymbolMapAbstractUnitFormat. getSymbols()Returns theSymbolMapfor this unit format.protected SymbolMapEBNFUnitFormat. getSymbols()Get the symbol map used by this instance to map betweenUnits andStrings, etc...protected SymbolMapLocalUnitFormat. getSymbols()Get the symbol map used by this instance to map betweenUnits andStrings, etc...protected SymbolMapSimpleUnitFormat.DefaultFormat. getSymbols()static SymbolMapSymbolMap. 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 intConverterFormatter. 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 voidEBNFHelper. 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 intEBNFHelper. 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 EBNFUnitFormatEBNFUnitFormat. getInstance(SymbolMap symbols)Returns an instance for the given symbol map.static LocalUnitFormatLocalUnitFormat. getInstance(SymbolMap symbols)Returns an instance for the given symbol map.private static intConverterFormatter. noopPrecedence(java.lang.StringBuilder buffer, SymbolMap symbolMap, Prefix prefix)private static intEBNFHelper. 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 SymbolMapLocalUnitFormatParser. symbolsDeprecated.private SymbolMapUnitFormatParser. symbolsConstructors 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)
-