Class DecimalNumberConstraintPredicate
- java.lang.Object
-
- org.solidcoding.validation.predicates.DecimalNumberConstraintPredicate
-
- All Implemented Interfaces:
ChainingPredicate<Double,DecimalNumberPredicate>
public final class DecimalNumberConstraintPredicate extends Object implements ChainingPredicate<Double,DecimalNumberPredicate>
-
-
Method Detail
-
and
public DecimalNumberPredicate and(Double second)
- Specified by:
andin interfaceChainingPredicate<Double,DecimalNumberPredicate>- Parameters:
second- the second of the constraints. Can be either the high constraint or the low constraint.- Returns:
- DecimalNumberPredicate to continue adding rules.
-
-