/** * Constructs a {@link NumericRangeQueryNode} object using the given * {@link NumericQueryNode} as its bounds and {@link NumericConfig}. * * @param lower the lower bound * @param upper the upper bound * @param lowerInclusive <code>true</code> if the lower bound is inclusive, otherwise, <code>false</code> * @param upperInclusive <code>true</code> if the upper bound is inclusive, otherwise, <code>false</code> * @param numericConfig the {@link NumericConfig} that represents associated with the upper and lower bounds * * @see #setBounds(NumericQueryNode, NumericQueryNode, boolean, boolean, NumericConfig) */ public NumericRangeQueryNode(NumericQueryNode lower, NumericQueryNode upper, boolean lowerInclusive, boolean upperInclusive, NumericConfig numericConfig) throws QueryNodeException { setBounds(lower, upper, lowerInclusive, upperInclusive, numericConfig); }
/** * Constructs a {@link NumericRangeQueryNode} object using the given * {@link NumericQueryNode} as its bounds and {@link NumericConfig}. * * @param lower the lower bound * @param upper the upper bound * @param lowerInclusive <code>true</code> if the lower bound is inclusive, otherwise, <code>false</code> * @param upperInclusive <code>true</code> if the upper bound is inclusive, otherwise, <code>false</code> * @param numericConfig the {@link NumericConfig} that represents associated with the upper and lower bounds * * @see #setBounds(NumericQueryNode, NumericQueryNode, boolean, boolean, NumericConfig) */ public NumericRangeQueryNode(NumericQueryNode lower, NumericQueryNode upper, boolean lowerInclusive, boolean upperInclusive, NumericConfig numericConfig) throws QueryNodeException { setBounds(lower, upper, lowerInclusive, upperInclusive, numericConfig); }