|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.util.filter.NullFilter
public final class NullFilter
A null
implementation of a Filter
. The singleton
instance can be typed cast properly when using generics.
Method Summary | ||
---|---|---|
boolean |
accept(java.lang.Object value)
Determines whether the specified object is "accepted" by the filter. |
|
static
|
instance()
Returns the singleton instance of this NullFilter . |
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static <T> Filter<T> instance()
NullFilter
.
public boolean accept(java.lang.Object value)
accept
in interface Filter<java.lang.Object>
value
- The value to filter
true
if the given value is "accepted" by this filter; false
if it was "rejected"public java.lang.String toString()
toString
in class java.lang.Object
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |