com.wix.accord.combinators.OrderingCombinators
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 a new validator based on the provided bounds and prefix, but which treats the upper bound as exclusive.
Returns a new validator based on the provided bounds and prefix, but which treats the upper bound as exclusive. The resulting constraint violation will consequently look similar to "got 10, expected between 5 and 7 (exclusively)".
A validator that succeeds only for values between the specified bounds (both bounds are inclusive). The com.wix.accord.combinators.OrderingCombinators.Between.exclusive method can be used to derive a validator that excludes the upper bound.
The object type this validator operates on.