Package de.uplanet.util.filter
Interface IFilter<T>
-
- Type Parameters:
T
- The type of objects to be filtered.
- All Known Implementing Classes:
ConjunctionFilter
,DisjunctionFilter
,GroovyClosureFilter
,IdentityFilter
,NegationFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Scriptable @FunctionalInterface public interface IFilter<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(T p_obj)
-
-
-
Method Detail
-
accept
boolean accept(T p_obj)
- Parameters:
p_obj
- The object to be filtered.- Returns:
true
if this filter accepts the given object, orfalse
otherwise.
-
-