T - The type of the object being validatedpublic class AndValidator<T> extends ValidatorContainer<T>
| Constructor and Description |
|---|
AndValidator()
Creates a new “AND” validator.
|
AndValidator(Validator<T>... validators)
Creates a new “AND” validator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
boolean |
validate(T value)
Validates the given object.
|
addValidator, getValidatorsCopyright © 2026. All rights reserved.