T - The type of the object being validatedpublic class NotValidator<T> extends Object implements Validator<T>
| Constructor and Description |
|---|
NotValidator(Validator<T> validator)
Creates a new inverting validator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
boolean |
validate(T value)
Validates the given object.
|
public boolean validate(T value)
Copyright © 2026. All rights reserved.