Package org.instancio

Interface IntervalSupplier<T>

Type Parameters:
T - the type of value underlying the interval

@ExperimentalApi public interface IntervalSupplier<T>
A supplier of start and end interval values.
Since:
5.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    end()
    Returns a supplier that produces interval end value.
    Returns a supplier that produces interval start value.
  • Method Details

    • start

      Returns a supplier that produces interval start value.
      Returns:
      a supplier for interval start values
      Since:
      5.0.0
    • end

      Returns a supplier that produces interval end value.
      Returns:
      a supplier for interval end values
      Since:
      5.0.0