org.fuin.utils4j.filter
Class IntegerFilter

java.lang.Object
  extended by org.fuin.utils4j.filter.ComparableFilter
      extended by org.fuin.utils4j.filter.IntegerFilter
All Implemented Interfaces:
Filter

public class IntegerFilter
extends ComparableFilter

Defines a filter on an Integer value.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.fuin.utils4j.filter.ComparableFilter
ComparableFilter.Operator
 
Constructor Summary
IntegerFilter(ComparableFilter.Operator newOperator, java.lang.Integer constValue)
          Constructor with an operator and a value.
IntegerFilter(java.lang.String newOperator, java.lang.Integer constValue)
          Constructor with a string and a value.
 
Method Summary
 java.lang.Integer getConstValue()
          Returns the constant value any value is compared with.
 
Methods inherited from class org.fuin.utils4j.filter.ComparableFilter
complies, getConstValueIntern, getOperator, getOperatorName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerFilter

public IntegerFilter(java.lang.String newOperator,
                     java.lang.Integer constValue)
Constructor with a string and a value.

Parameters:
newOperator - Operator to use.
constValue - Integer value to compare with.

IntegerFilter

public IntegerFilter(ComparableFilter.Operator newOperator,
                     java.lang.Integer constValue)
Constructor with an operator and a value.

Parameters:
newOperator - Operator to use.
constValue - Integer value to compare with.
Method Detail

getConstValue

public final java.lang.Integer getConstValue()
Returns the constant value any value is compared with.

Returns:
Integer value.


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.