Checks if the specified value is within the allowed range. @param item value to check @return result of check @throws QueryException query exception
(final Item item)
| 177 | * @throws QueryException query exception |
| 178 | */ |
| 179 | private boolean inRange(final Item item) throws QueryException { |
| 180 | final double value = item.dbl(info); |
| 181 | return value >= min && value <= max; |
| 182 | } |
| 183 | |
| 184 | @Override |
| 185 | public Expr mergeEbv(final Expr ex, final boolean or, final CompileContext cc) |