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