|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4j.filter.ComparableFilter
public abstract class ComparableFilter
Defines a filter on a Comparable value.
| Nested Class Summary | |
|---|---|
static class |
ComparableFilter.Operator
Operators for compare operations. |
| Constructor Summary | |
|---|---|
ComparableFilter(ComparableFilter.Operator newOperator,
java.lang.Comparable constValue)
Constructor with a property and an operator. |
|
| Method Summary | |
|---|---|
boolean |
complies(java.lang.Object value)
Checks if the argument complies with the condition of the filter. |
protected java.lang.Comparable |
getConstValueIntern()
Returns the constant value any string is compared with. |
ComparableFilter.Operator |
getOperator()
Returns the operator for compare operations. |
java.lang.String |
getOperatorName()
Returns the operator for compare operations. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComparableFilter(ComparableFilter.Operator newOperator,
java.lang.Comparable constValue)
newOperator - Operator to use.constValue - Value to compare with.| Method Detail |
|---|
public final boolean complies(java.lang.Object value)
complies in interface Filtervalue - Object to be tested for compliance
public final ComparableFilter.Operator getOperator()
public final java.lang.String getOperatorName()
protected final java.lang.Comparable getConstValueIntern()
public final java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||