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

    Modifier and Type
    Method
    Description
    Provides the given range.
  • Method Details

    • range

      Range<T> range()
      Provides the given range.
      Returns:
      range