|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.filter.NumericFilter
edu.neu.ccs.filter.RangeFilter
Filter that enforces inclusive or exclusive numeric upper and lower bounds by throwing an exception when the data to be filtered violates either bound. Inner classes provide the functionality of both integer and real number bounds, of primitive or arbitrary precision.
| Nested Class Summary | |
static class |
RangeFilter.BigDecimal
Range filter representing real number upper and lower bounds of arbitrary precision. |
static class |
RangeFilter.BigInteger
Range filter representing integer upper and lower bounds of arbitrary precision. |
static class |
RangeFilter.Double
Range filter representing real number upper and lower bounds of primitive precision. |
static class |
RangeFilter.Long
Range filter representing integer upper and lower bounds of primitive precision. |
| Field Summary | |
protected MaximumBoundFilter |
maximum
Maximum bound filter used to enforce the upper bound of this range. |
static String |
MAXIMUM
Bound property name for the maximum property. |
static String |
MAXIMUM_INCLUSIVE
Bound property name for the minimum exclusivity property. |
protected MinimumBoundFilter |
minimum
Minimum bound filter used to enforce the lower bound of this range. |
static String |
MINIMUM
Bound property name for the minimum property. |
static String |
MINIMUM_INCLUSIVE
Bound property name for the minimum exclusivity property. |
| Fields inherited from class edu.neu.ccs.filter.NumericFilter |
changeAdapter |
| Constructor Summary | |
RangeFilter()
|
|
| Method Summary | |
void |
propertyChange(PropertyChangeEvent evt)
Passes on events generated by property changes imposed on the minimum and maximum bounds. |
| Methods inherited from class edu.neu.ccs.filter.NumericFilter |
addPropertyChangeListener, addPropertyChangeListener, filterStringable, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String MINIMUM
public static final String MAXIMUM
public static final String MINIMUM_INCLUSIVE
public static final String MAXIMUM_INCLUSIVE
protected MinimumBoundFilter minimum
protected MaximumBoundFilter maximum
| Constructor Detail |
public RangeFilter()
| Method Detail |
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - the property change event to handle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||