|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jjoost.util.filters.FilterNot<E>
public class FilterNot<E>
A that negates/inverts the result of the supplied filter
| Constructor Summary | |
|---|---|
FilterNot(Filter<E> negate)
Construct a new filter which negates the results of the filter provided |
|
| Method Summary | ||
|---|---|---|
boolean |
accept(E test)
Returns true if the Filter accepts the parameter and false otherwise |
|
static
|
get(Filter<E> negate)
Returns the negation of the supplied filter |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilterNot(Filter<E> negate)
negate - filter to negate| Method Detail |
|---|
public boolean accept(E test)
Filtertrue if the Filter accepts the parameter and false otherwise
accept in interface Filter<E>test - value to test
true if the filter accepts test; false otherwisepublic java.lang.String toString()
toString in class java.lang.Objectpublic static <E> FilterNot<E> get(Filter<E> negate)
negate - filter to negate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||