T - The type of the object being validatedpublic class NotNullValidator<T> extends Object implements Validator<T>
Validator implementation that validates that an object is not null.| Constructor and Description |
|---|
NotNullValidator() |
| 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.