Uses of Class
com.lokalized.Range
-
Uses of Range in com.lokalized
Modifier and TypeMethodDescriptionstatic <T> Range<T>
Range.emptyFiniteRange()
Gets the empty finite range.static <T> Range<T>
Range.emptyInfiniteRange()
Gets the empty infinite range.static <T> Range<T>
Range.ofFiniteValues
(Collection<T> values) Provides a finite range for the given values.static <T> Range<T>
Range.ofFiniteValues
(T... values) Provides a finite range for the given values.static <T> Range<T>
Range.ofInfiniteValues
(Collection<T> values) Provides an infinite range for the given values.static <T> Range<T>
Range.ofInfiniteValues
(T... values) Provides an infinite range for the given values.Modifier 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 SortedMap<Ordinality,
Range<Integer>> Ordinality.exampleIntegerValuesForLocale
(Locale locale) Gets a mapping of ordinalities to example integer values for the given locale.