| Constructor and Description |
|---|
DoubleRangeValidator(double lowerBound,
boolean includeLowerBound,
double upperBound,
boolean includeUpperBound)
Creates a new double range validator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
boolean |
validate(Double value)
Validates the given object.
|
public DoubleRangeValidator(double lowerBound,
boolean includeLowerBound,
double upperBound,
boolean includeUpperBound)
lowerBound - The lower bound of the rangeincludeLowerBound - true to include the lower bound in the range, false otherwiseupperBound - The upper bound of the rangeincludeUpperBound - true to include the upper bound in the range, false otherwisepublic boolean validate(Double value)
Copyright © 2026. All rights reserved.