edu.neu.ccs.filter
Class MinimumBoundFilter

java.lang.Object
  extended byedu.neu.ccs.filter.NumericFilter
      extended byedu.neu.ccs.filter.BoundFilter
          extended byedu.neu.ccs.filter.MinimumBoundFilter
All Implemented Interfaces:
Cloneable, Serializable, StringableFilter
Direct Known Subclasses:
MinimumBoundFilter.BigDecimal, MinimumBoundFilter.BigInteger, MinimumBoundFilter.Double, MinimumBoundFilter.Long

public class MinimumBoundFilter
extends BoundFilter

Filter that enforces an inclusive or exclusive numeric lower 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 lower bounds of primitive or arbitrary precision.

Since:
1.0
Version:
2.2
See Also:
MaximumBoundFilter, Serialized Form

Nested Class Summary
static class MinimumBoundFilter.BigDecimal
          Minimum bound filter representing a real number lower bound of arbitrary precision.
static class MinimumBoundFilter.BigInteger
          Minimum bound filter representing an integer lower bound of arbitrary precision.
static class MinimumBoundFilter.Double
          Minimum bound filter representing a real number lower bound of primitive precision.
static class MinimumBoundFilter.Long
          Minimum bound filter representing an integer lower bound of primitive precision.
 
Field Summary
static String MINIMUM
          Bound property name for the minimum property.
 
Fields inherited from class edu.neu.ccs.filter.BoundFilter
inclusive, INCLUSIVE
 
Fields inherited from class edu.neu.ccs.filter.NumericFilter
changeAdapter
 
Constructor Summary
MinimumBoundFilter(boolean inclusive)
          Constructs an inclusive or exclusive minimum bound filter.
 
Methods inherited from class edu.neu.ccs.filter.BoundFilter
isInclusive, setInclusive
 
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

MINIMUM

public static final String MINIMUM
Bound property name for the minimum property.

See Also:
Constant Field Values
Constructor Detail

MinimumBoundFilter

public MinimumBoundFilter(boolean inclusive)
Constructs an inclusive or exclusive minimum bound filter.

Parameters:
inclusive - whether or not the bound is inclusive