edu.neu.ccs.filter
Class MaximumBoundFilter
java.lang.Object
edu.neu.ccs.filter.NumericFilter
edu.neu.ccs.filter.BoundFilter
edu.neu.ccs.filter.MaximumBoundFilter
- All Implemented Interfaces:
- Cloneable, Serializable, StringableFilter
- Direct Known Subclasses:
- MaximumBoundFilter.BigDecimal, MaximumBoundFilter.BigInteger, MaximumBoundFilter.Double, MaximumBoundFilter.Long
- public class MaximumBoundFilter
- extends BoundFilter
Filter that enforces an inclusive or exclusive
numeric upper bound by throwing an exception
when the data to be filtered violates the bound.
Inner classes provide the functionality of both
integer and real number upper bounds,
of primitive or arbitrary precision.
- Since:
- 1.0
- Version:
- 2.2
- See Also:
MinimumBoundFilter,
Serialized Form
|
Field Summary |
static String |
MAXIMUM
Bound property name for the maximum property. |
|
Constructor Summary |
MaximumBoundFilter(boolean isInclusive)
Constructs an inclusive or exclusive
maximum bound filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXIMUM
public static final String MAXIMUM
- Bound property name for the maximum property.
- See Also:
- Constant Field Values
MaximumBoundFilter
public MaximumBoundFilter(boolean isInclusive)
- Constructs an inclusive or exclusive
maximum bound filter.
- Parameters:
isInclusive - whether or not the bound is inclusive