-
- Type Parameters:
T
- the value type
public static interface Value.Validator<T>
AValue.Validator
forValue
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(T value)
Validates the given value.
-
-
-
Method Detail
-
validate
void validate(T value) throws IllegalArgumentException
Validates the given value.- Parameters:
value
- the value to validate- Throws:
IllegalArgumentException
- in case of an invalid value
-
-