net.obsearch.filter
Class FilterNonEquals<O extends OB>
java.lang.Object
net.obsearch.filter.FilterNonEquals<O>
- All Implemented Interfaces:
- Filter<O>
public class FilterNonEquals<O extends OB>
- extends Object
- implements Filter<O>
Filter all objects that are not equal to the query.
Useful sometimes.
Method Summary |
boolean |
accept(O dbObject,
O query)
Returning true implies that the object "dbObject" will
be included in the result set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterNonEquals
public FilterNonEquals()
accept
public boolean accept(O dbObject,
O query)
- Description copied from interface:
Filter
- Returning true implies that the object "dbObject" will
be included in the result set.
- Specified by:
accept
in interface Filter<O extends OB>
- Parameters:
dbObject
- Object that is considered as a result.query
- Original query provided by the user.
- Returns:
- true if dbObject is to be included in the result set.
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.