Package de.uplanet.util.filter
Class GroovyClosureFilter<T>
java.lang.Object
de.uplanet.util.filter.GroovyClosureFilter<T>
- All Implemented Interfaces:
IFilter<T>
This class implements the
IFilter
interface as a Groovy closure.-
Constructor Summary
ConstructorDescriptionGroovyClosureFilter
(groovy.lang.Closure<?> p_closure) Create a filter with the given closure. -
Method Summary
-
Constructor Details
-
GroovyClosureFilter
public GroovyClosureFilter(groovy.lang.Closure<?> p_closure) Create a filter with the given closure.Note that this class does not clone the given closure. So the caller is responsible to clone it, if necessary.
- Parameters:
p_closure
- The closure used as a filter.
-
-
Method Details