V
- the generic type of the value to check by the Expression
to build.public interface NumberArgument<V extends Number & Comparable<?>> extends ComparableArgument<V>
Modifier and Type | Method and Description |
---|---|
Expression |
between(Range<V> range) |
default Expression |
between(V min,
V max) |
Expression |
geq(Path<V> path) |
Expression |
geq(V value) |
Expression |
gt(Path<V> path) |
Expression |
gt(V value) |
Expression |
leq(Path<V> path) |
Expression |
leq(V value) |
Expression |
lt(Path<V> path) |
Expression |
lt(V value) |
Expression geq(V value)
value
- the value to compare.Expression
for this >= value
.Expression geq(Path<V> path)
path
- the path
to compare.Expression
for this >= path
.Expression gt(V value)
value
- the value to compare.Expression
for this > value
.Expression gt(Path<V> path)
path
- the path
to compare.Expression
for this > path
.Expression lt(V value)
value
- the value to compare.Expression
for this < value
.Expression lt(Path<V> path)
path
- the path
to compare.Expression
for this < path
.Expression leq(V value)
value
- the value to compare.Expression
for this <= value
.Expression leq(Path<V> path)
path
- the path
to compare.Expression
for this <= path
.default Expression between(V min, V max)
min
- - see Range.getMin()
.max
- - see Range.getMax()
.Expression
for min <= this <= max
.Expression between(Range<V> range)
range
- the constant Range
to match.Expression
for min <= this <= max
.Copyright © 2001–2016 mmm-Team. All rights reserved.