T - the type of the object to be validated.public interface Validator<T>
T.| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(T t)
Validates the given object.
|
ValidationResult validate(T t)
t - the object of type T to be validated.ValidationResult.Copyright © 2020. All rights reserved.