|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jjoost.util.filters.AcceptIfNotNull<E>
public class AcceptIfNotNull<E>
A filter accepting everything except null
| Constructor Summary | |
|---|---|
AcceptIfNotNull()
|
|
| Method Summary | ||
|---|---|---|
boolean |
accept(E test)
Returns true if the Filter accepts the parameter and false otherwise |
|
static
|
get()
Returns a filter accepting everything except null |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AcceptIfNotNull()
| 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> AcceptIfNotNull<E> get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||