|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sciapp.filter.Filter
com.sciapp.filter.ComparisonFilter
public abstract class ComparisonFilter
A general comparison filter.
Field Summary | |
---|---|
protected int |
comparison
The current comparison mode. |
static int |
EQ
The comparison that tests if a value is equal to another. |
static int |
GE
The comparison that tests if a value is more or equal to another. |
static int |
GT
The comparison that tests if a value is more than another. |
static int |
LE
The comparison that tests if a value is less than or equal to value. |
static int |
LT
The comparison that tests if a value is less than another. |
Fields inherited from class com.sciapp.filter.Filter |
---|
acceptNull |
Constructor Summary | |
---|---|
ComparisonFilter()
Constructs a ComparisonFilter with an EQUAL_TO mode. |
Method Summary | |
---|---|
int |
getComparison()
Returns the comparison mode. |
void |
setComparison(int comparison)
Sets the comparison mode. |
Methods inherited from class com.sciapp.filter.Filter |
---|
accept, getAcceptNull, getFilterPattern, setAcceptNull, setFilterPattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LT
public static final int LE
public static final int EQ
public static final int GE
public static final int GT
protected int comparison
Constructor Detail |
---|
public ComparisonFilter()
Method Detail |
---|
public int getComparison()
public void setComparison(int comparison)
comparison
- the comparison mode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |