Interface Value.Validator<T>

Type Parameters:
T - the value type
Enclosing interface:
Value<T>

public static interface Value.Validator<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(T value)
    Validates the given value.
  • Method Details

    • validate

      void validate(T value)
      Validates the given value.
      Parameters:
      value - the value to validate
      Throws:
      IllegalArgumentException - in case of an invalid value