Class PluralRulesImpl
- java.lang.Object
-
- com.squarespace.cldrengine.plurals.PluralRulesImpl
-
- All Implemented Interfaces:
PluralRules
public class PluralRulesImpl extends java.lang.Object implements PluralRules
Set of all cardinal and ordinal plural rules, and the array of expression fragments the rules reference.
-
-
Constructor Summary
Constructors Constructor Description PluralRulesImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluralType
cardinal(Decimal n)
NumberOperands
operands(Decimal d)
PluralType
ordinal(Decimal n)
-
-
-
Method Detail
-
operands
public NumberOperands operands(Decimal d)
- Specified by:
operands
in interfacePluralRules
-
cardinal
public PluralType cardinal(Decimal n)
- Specified by:
cardinal
in interfacePluralRules
-
ordinal
public PluralType ordinal(Decimal n)
- Specified by:
ordinal
in interfacePluralRules
-
-