| Constructor and Description |
|---|
IntegerRangeValidator(int lowerBound,
int upperBound)
Creates a new integer range validator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
boolean |
validate(Integer value)
Validates the given object.
|
public IntegerRangeValidator(int lowerBound,
int upperBound)
lowerBound - The lower bound of the rangeupperBound - The upper bound of the rangepublic boolean validate(Integer value)
Copyright © 2026. All rights reserved.