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