Interface RangeProvider<T extends Comparable<?>>
- Type Parameters:
T
-
- All Known Subinterfaces:
DoubleRangeProvider
,IntegerRangeProvider
@Experimental
@NullMarked
public sealed interface RangeProvider<T extends Comparable<?>>
permits DoubleRangeProvider, IntegerRangeProvider
A provider for a range of numbers
- See Also:
-
Method Summary
-
Method Details
-
range
Provides the given range.- Returns:
- range
-