Package com.ibm.icu.impl.number
Class MutablePatternModifier.ImmutablePatternModifier
java.lang.Object
com.ibm.icu.impl.number.MutablePatternModifier.ImmutablePatternModifier
- All Implemented Interfaces:
MicroPropsGenerator
- Enclosing class:
- MutablePatternModifier
public static class MutablePatternModifier.ImmutablePatternModifier
extends Object
implements MicroPropsGenerator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) MicroPropsGenerator
(package private) final AdoptingModifierStore
(package private) final PluralRules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToChain
(MicroPropsGenerator parent) void
applyToMicros
(MicroProps micros, DecimalQuantity quantity) processQuantity
(DecimalQuantity quantity) Considers the givenDecimalQuantity
, optionally mutates it, and returns aMicroProps
.
-
Field Details
-
pm
-
rules
-
parent
MicroPropsGenerator parent
-
-
Constructor Details
-
ImmutablePatternModifier
ImmutablePatternModifier(AdoptingModifierStore pm, PluralRules rules)
-
-
Method Details
-
addToChain
-
processQuantity
Description copied from interface:MicroPropsGenerator
Considers the givenDecimalQuantity
, optionally mutates it, and returns aMicroProps
.- Specified by:
processQuantity
in interfaceMicroPropsGenerator
- Parameters:
quantity
- The quantity for consideration and optional mutation.- Returns:
- A MicroProps instance resolved for the quantity.
-
applyToMicros
-