UnitConverter instances.
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | additionPrecedence(AddConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer)
|
| private static int | |
| private static int | |
| pack-priv static int | Returns: the operator precedence of the given UnitConverterthe converter to be formatted converter, boolean true if the converter expression should begin with an operator, otherwise false.the operator precedence of the operation expressed by the unit being modified by the given converter. unitPrecedence, StringBuilder the buffer, final SymbolMap symbolMap)StringBuffer to append to.Formats the given converter to the given StringBuilder and returns the operator precedence of the converter's mathematical operation. |
| pack-priv static int | Returns: the operator precedence of the given UnitConverterthe converter to be formatted converter, boolean true if the converter expression should begin with an operator, otherwise false.the operator precedence of the operation expressed by the unit being modified by the given converter. unitPrecedence, StringBuilder the buffer, final SymbolMap symbolMap)StringBuffer to append to.Formats the given converter to the given StringBuffer and returns the operator precedence of the converter's mathematical operation. |
| private static int | Returns: the given operator precedencethe formattable to be formatted f, int the operator precedence of the operation expressed by the unit being modified by the given converter. unitPrecedence, StringBuilder the buffer)StringBuffer to append to.Formats the given |
| private static int | |
| private static int | productPrecedence(PowerOfIntConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer)
|
| private static int | productPrecedence(MultiplyConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer)
|
| LOCAL_FORMAT_PATTERN | back to summary |
|---|---|
| private static final String LOCAL_FORMAT_PATTERN | |
| ConverterFormatter | back to summary |
|---|---|
| pack-priv ConverterFormatter() | |
| additionPrecedence | back to summary |
|---|---|
| private static int additionPrecedence(AddConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer) | |
| exponentPrecedenceExpConveter | back to summary |
|---|---|
| private static int exponentPrecedenceExpConveter(ExpConverter converter, int unitPrecedence, StringBuilder buffer) | |
| exponentPrecedenceLogConveter | back to summary |
|---|---|
| private static int exponentPrecedenceLogConveter(LogConverter converter, StringBuilder buffer) | |
| formatConverter | back to summary |
|---|---|
| pack-priv static int formatConverter(UnitConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer, final SymbolMap symbolMap) Formats the given converter to the given StringBuilder and returns the operator precedence of the converter's mathematical operation. This is
the default implementation, which supports all built-in UnitConverter implementations. Note that it recursively calls itself in the case of a
| |
| formatConverterLocal | back to summary |
|---|---|
| pack-priv static int formatConverterLocal(UnitConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer, final SymbolMap symbolMap) Formats the given converter to the given StringBuffer and returns the operator precedence of the converter's mathematical operation. This is
the default implementation, which supports all built-in UnitConverter implementations. Note that it recursively calls itself in the case of a
| |
| formatFormattable | back to summary |
|---|---|
| private static int formatFormattable(Formattable f, int unitPrecedence, StringBuilder buffer) Formats the given
| |
| noopPrecedence | back to summary |
|---|---|
| private static int noopPrecedence(StringBuilder buffer, SymbolMap symbolMap, Prefix prefix) | |
| productPrecedence | back to summary |
|---|---|
| private static int productPrecedence(PowerOfIntConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer) | |
| productPrecedence | back to summary |
|---|---|
| private static int productPrecedence(MultiplyConverter converter, boolean continued, int unitPrecedence, StringBuilder buffer) | |