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".
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".
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 (both bounds are inclusive). The com.wix.accord.combinators.OrderingCombinators.InRange.exclusive method can be used to derive a validator that excludes 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".Evidence that
T
is ordered (i.e. a scala.math.Ordering ofT
is available).