|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.entityfs.support.filter.FalseFilter<T>
public class FalseFilter<T>
This filter does not match any objects at all.
Constructor Summary | |
---|---|
FalseFilter()
|
Method Summary | |
---|---|
ConvenientFilter<T> |
and(Filter<? super T> filter)
Combines the two filters using the logical AND operation and returns the combined filter. |
ConvenientFilter<T> |
bitwiseNegate()
This method delegates to not() |
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
matches(T object)
Does the filter match the object? |
ConvenientFilter<T> |
not()
Creates a filter that negates the result from this filter. |
ConvenientFilter<T> |
or(Filter<? super T> filter)
Combines the two filters using the logical OR operation and returns the combined filter. |
String |
toString()
|
ConvenientFilter<T> |
xor(Filter<? super T> filter)
Combines the two filters using the logical XOR operation and returns the combined filter. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FalseFilter()
Method Detail |
---|
public ConvenientFilter<T> and(Filter<? super T> filter)
ConvenientFilter
and
in interface ConvenientFilter<T>
filter
- The filter to combine this filter with.
public ConvenientFilter<T> not()
ConvenientFilter
A filter implementing this method is also recommended to implement a
method called bitwiseNegate
that delegates to this method. That
makes it possible to negate the filter using the ~
operator in a
Groovy script.
not
in interface ConvenientFilter<T>
public final ConvenientFilter<T> bitwiseNegate()
not()
public ConvenientFilter<T> or(Filter<? super T> filter)
ConvenientFilter
or
in interface ConvenientFilter<T>
filter
- The filter to combine this filter with.
public ConvenientFilter<T> xor(Filter<? super T> filter)
ConvenientFilter
xor
in interface ConvenientFilter<T>
filter
- The filter to combine this filter with.
public boolean matches(T object)
Filter
matches
in interface Filter<T>
object
- The object to match.
false
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |