net.sf.basedb.util
Class ContextUtil.IsInContextFilter
java.lang.Object
net.sf.basedb.util.ContextUtil.IsInContextFilter
- All Implemented Interfaces:
- Filter<ContextUtil.ContextResult>
- Enclosing class:
- ContextUtil
public static class ContextUtil.IsInContextFilter
- extends Object
- implements Filter<ContextUtil.ContextResult>
Filter implementation that works on collections
of ContextUtil.ContextResult
:s and return only those
that return true from ContextUtil.ContextResult.isInContext()
.
- Version:
- 2.9
- Author:
- Nicklas
- Last modified
- $Date: 2008-10-21 09:20:40 +0200 (Tue, 21 Oct 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextUtil.IsInContextFilter
public ContextUtil.IsInContextFilter()
evaluate
public boolean evaluate(ContextUtil.ContextResult result)
- Description copied from interface:
Filter
- Evaluate if the given object should pass the filter or not.
- Specified by:
evaluate
in interface Filter<ContextUtil.ContextResult>
- Parameters:
result
- The object to evaluate
- Returns:
- TRUE if the object passes the filter, FALSE otherwise