The lower bound against which values are validated.
The lower bound against which values are validated.
A prefix for violation messages; for example, specifying "got"
will result in a
constraint violation like "got 10, expected between 5 and 7 (exclusively)".
Evidence that T
is ordered (i.e. a scala.math.Ordering of T
is available).
Returns an upper-bound-exclusive version of this validator.
Returns an upper-bound-exclusive version of this validator.
A generator function for producing com.wix.accord.Failures if validation fails.
A generator function for producing com.wix.accord.Failures if validation fails. The helper methods in com.wix.accord.ViolationBuilder can be used to simplify this task.
Returns an upper-bound-inclusive version of this validator.
Returns an upper-bound-inclusive version of this validator.
The lower bound against which values are validated.
The lower bound against which values are validated.
A prefix for violation messages; for example, specifying "got"
will result in a
constraint violation like "got 10, expected between 5 and 7 (exclusively)".
The predicate that determines whether or not validation is successful.
The predicate that determines whether or not validation is successful.
The lower bound against which values are validated.
The lower bound against which values are validated.
A validator that succeeds only for values between the specified bounds (exclusive of the upper bound). The com.wix.accord.combinators.OrderingCombinators.InRange.inclusive method can be used to derive a validator that includes the upper bound.
The object type this validator operates on.
The lower bound against which values are validated.
The lower bound against which values are validated.
A prefix for violation messages; for example, specifying
"got"
will result in a constraint violation like "got 10, expected between 5 and 7 (exclusively)".Evidence that
T
is ordered (i.e. a scala.math.Ordering ofT
is available).