org.solidcoding.validation.predicates.NumberPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solidcoding-validation Show documentation
Show all versions of solidcoding-validation Show documentation
A small package that enables validation of (business) rules through a fluent API.
package org.solidcoding.validation.predicates;
import org.solidcoding.validation.api.ChainingPredicate;
import java.util.function.Predicate;
interface NumberPredicate extends GenericPredicate {
/**
* @param first the first (inclusive) constraint. Can be either the high constraint or the low
* * constraint.
* @return a ChainingPredicate to add the second constraint.
*/
ChainingPredicate> between(int first);
}