java.lang.Object
be.dezijwegel.betteryaml.validation.validator.Validator
be.dezijwegel.betteryaml.validation.validator.numeric.Max

public class Max
extends Validator
  • Constructor Details

    • Max

      public Max​(@NotNull @NotNull Number max)
      Provide a maximum value for this setting This will be handled as a double internally Validate will return the max value for faulty types (non-numbers)
      Parameters:
      max - the highest allowed value (inclusive)
  • Method Details