Interface Validator<T>
-
- Type Parameters:
T
- type of object
public interface Validator<T>
Validator to check an object.- Since:
- 1.0.2
- See Also:
Assertions.assertIsValid(java.lang.Object, com.igormaznitsa.meta.common.utils.Validator)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValid(T object)
Validate an object.
-
-
-
Method Detail
-
isValid
boolean isValid(T object)
Validate an object.- Parameters:
object
- object to be validated- Returns:
- true if the object is valid, false otherwise
-
-