public class AdoptingModifierStore extends Object implements ModifierStore
| Constructor and Description |
|---|
AdoptingModifierStore()
This constructor prepares the ParameterizedModifier to be populated with a positive and negative
Modifier for multiple plural forms.
|
AdoptingModifierStore(Modifier positive,
Modifier posZero,
Modifier negZero,
Modifier negative)
This constructor populates the ParameterizedModifier with a single positive and negative form.
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeze() |
Modifier |
getModifier(Modifier.Signum signum,
StandardPlural plural)
Returns a Modifier with the given parameters (best-effort).
|
Modifier |
getModifierWithoutPlural(Modifier.Signum signum) |
void |
setModifier(Modifier.Signum signum,
StandardPlural plural,
Modifier mod) |
public AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative)
If this constructor is used, a plural form CANNOT be passed to AdoptingModifierStore.getModifier(org.graalvm.shadowed.com.ibm.icu.impl.number.Modifier.Signum, org.graalvm.shadowed.com.ibm.icu.impl.StandardPlural).
public AdoptingModifierStore()
If this constructor is used, a plural form MUST be passed to AdoptingModifierStore.getModifier(org.graalvm.shadowed.com.ibm.icu.impl.number.Modifier.Signum, org.graalvm.shadowed.com.ibm.icu.impl.StandardPlural).
public void setModifier(Modifier.Signum signum, StandardPlural plural, Modifier mod)
public void freeze()
public Modifier getModifierWithoutPlural(Modifier.Signum signum)
public Modifier getModifier(Modifier.Signum signum, StandardPlural plural)
ModifierStoregetModifier in interface ModifierStore