Package com.codesseur.validation
Class AbstractComparableVerifier<V extends Comparable<V>,S extends AbstractComparableVerifier<V,S>>
- java.lang.Object
-
- com.codesseur.validation.Verifier<V,S>
-
- com.codesseur.validation.AbstractComparableVerifier<V,S>
-
- Direct Known Subclasses:
AbstractTemporalVerifier,ComparableVerifier
public abstract class AbstractComparableVerifier<V extends Comparable<V>,S extends AbstractComparableVerifier<V,S>> extends Verifier<V,S>
-
-
Constructor Summary
Constructors Constructor Description AbstractComparableVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scompare(V value, IntPredicate condition)SisBetween(V start, V end)SisGreaterThan(V value)SisGreaterThanOrEqual(V value)SisLessThan(V value)SisLessThanOrEqual(V value)-
Methods inherited from class com.codesseur.validation.Verifier
as, get, isEqualTo, isIn, isIn, isInstanceOf, isInstanceOf, isNotEqualTo, isNotNull, isNull, map, mapAs, matches, notIn, notIn, otherwise, otherwise, otherwise, otherwiseThrow, otherwiseThrow, otherwiseThrow, otherwiseThrowLast, satisfies, satisfies, then, verify, violates
-
-
-
-
Method Detail
-
compare
public S compare(V value, IntPredicate condition)
-
-