Interface NumberParameters.Builder

All Superinterfaces:
GenerationParameters, NumberParameters
All Known Implementing Classes:
NumberParametersImpl
Enclosing interface:
NumberParameters

public static interface NumberParameters.Builder extends NumberParameters
Interface for NumberParameters builders.
Since:
NullableParameters 1.0
Version:
1.0, 2022-12
Author:
(w) Iker Hernaez
  • Method Details

    • withMin

      @NotNull @NotNull NumberParameters.Builder withMin(@NotNull @NotNull Number value)
      Sets the minimum (inclusive) value.
      Parameters:
      value - The minimum value.
      Returns:
      This instance, for method chaining.
    • withMax

      @NotNull @NotNull NumberParameters.Builder withMax(@NotNull @NotNull Number value)
      Sets the maximum (inclusive) value.
      Parameters:
      value - The maximum value.
      Returns:
      This instance, for method chaining.