Class DecimalRangeTerm

All Implemented Interfaces:
QueryTerm, DecimalRangeTerm

public final class DecimalRangeTerm extends AbstractDecimalRangeTerm implements DecimalRangeTerm
A basic implementation of DecimalRangeTerm.
  • Constructor Details

    • DecimalRangeTerm

      public DecimalRangeTerm(BigDecimal start, BigDecimal end, boolean match)
      Creates a new DecimalRangeTerm.
      Parameters:
      start - the decimal start range
      end - the decimal end range
      match - true if a positive term, false for a negative term
      Throws:
      InvalidArgumentException - start is greater than end
      NullArgumentException - start or end is null