Package com.forgerock.opendj.util
Interface Predicate<M,P>
-
- Type Parameters:
M- The type of input values matched by this predicate.P- The type of the additional parameter to this predicate'smatchesmethod. UseVoidfor predicates that do not need an additional parameter.
- All Known Implementing Classes:
BackendConfigManager.NamingContextFilter
public interface Predicate<M,P>Predicates transform input values of typeMto a boolean output value and are typically used for performing filtering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(M value, P p)Indicates whether this predicate matches the provided input value of typeM.
-