Interface Validator<T>
- Type Parameters:
T
- T - the type of the objects to validate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Validator interface, used to validate objects
-
Method Summary
-
Method Details
-
validate
Validate an object- Parameters:
t
- - the object to be validated- Throws:
InvalidInput
- if the object is invalid
-