Uses of Enum Class
com.lokalized.Cardinality
-
Uses of Cardinality in com.lokalized
Methods in com.lokalized that return CardinalityModifier and TypeMethodDescriptionstatic Cardinality
Gets an appropriate plural cardinality for the given number, visible decimal places, and locale.static Cardinality
Gets an appropriate plural cardinality for the given number and locale.static Cardinality
Cardinality.forRange
(Cardinality start, Cardinality end, Locale locale) Gets an appropriate plural cardinality for the given range (start, end) and locale.static Cardinality
Returns the enum constant of this class with the specified name.static Cardinality[]
Cardinality.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.lokalized that return types with arguments of type CardinalityModifier and TypeMethodDescriptionstatic SortedMap<Cardinality,
Range<BigDecimal>> Cardinality.exampleDecimalValuesForLocale
(Locale locale) Gets a mapping of cardinalities to example decimal values for the given locale.static SortedMap<Cardinality,
Range<Integer>> Cardinality.exampleIntegerValuesForLocale
(Locale locale) Gets a mapping of cardinalities to example integer values for the given locale.static SortedSet<Cardinality>
Cardinality.supportedCardinalitiesForLocale
(Locale locale) Gets the set of cardinalities supported for the given locale.Methods in com.lokalized with parameters of type CardinalityModifier and TypeMethodDescriptionstatic Cardinality
Cardinality.forRange
(Cardinality start, Cardinality end, Locale locale) Gets an appropriate plural cardinality for the given range (start, end) and locale.