D
- Type of input datapublic interface FieldValidator<D>
FieldValidator
s are stored in Sets it is good practice to implement
#hashCode()
and #equals(Object)
.
Note that a FieldValidator
could throw a MissingFieldException
Modifier and Type | Method and Description |
---|---|
void |
validate(D data) |
void validate(D data) throws FieldException
FieldException