Interface NumericPropertyBuilder<SELF extends NumericPropertyBuilder<SELF,T>, T extends Number>

All Superinterfaces:
PropertyBuilder<SELF,T>
All Known Subinterfaces:
DoublePropertyBuilder, IntPropertyBuilder
All Known Implementing Classes:
DoublePropertyBuilderImpl, IntPropertyBuilderImpl, NumericPropertyBuilderImpl

public interface NumericPropertyBuilder<SELF extends NumericPropertyBuilder<SELF,T>, T extends Number> extends PropertyBuilder<SELF,T>
  • Method Details

    • min

      SELF min(T min)
      Sets the minimum value for the numeric property (inclusive).
      Parameters:
      min - The minimum value for the property (inclusive)
      Returns:
      The builder for chaining
    • max

      SELF max(T max)
      Sets the maximum value for the numeric property (inclusive).
      Parameters:
      max - The maximum value for the property (inclusive)
      Returns:
      The builder for chaining
    • range

      SELF range(T min, T max)
      Sets the minimum and maximum values for the numeric property (inclusive).
      Parameters:
      min - The minimum value for the property (inclusive)
      max - The maximum value for the property (inclusive)
      Returns:
      The builder for chaining