2.17.2: 2011-06-17

net.sf.basedb.util
Class ContextUtil.IsInContextFilter

java.lang.Object
  extended by 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) $

Constructor Summary
ContextUtil.IsInContextFilter()
           
 
Method Summary
 boolean evaluate(ContextUtil.ContextResult result)
          Evaluate if the given object should pass the filter or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextUtil.IsInContextFilter

public ContextUtil.IsInContextFilter()
Method Detail

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

2.17.2: 2011-06-17