Package net.sf.basedb.util.filter
Class IdentityFilter<T>
java.lang.Object
net.sf.basedb.util.filter.IdentityFilter<T>
- All Implemented Interfaces:
Filter<T>
A filter implementation that only accepts an object if it is
identical (==) to a given object.
- Version:
- 2.10
- Author:
- Nicklas
- Last modified
- $Date: 2009-02-05 14:39:25 +0100 (to, 05 feb 2009) $
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
object
-
-
Constructor Details
-
IdentityFilter
Create a new filter.- Parameters:
object
- The only object that should pass the filter
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.
-