Package org.plumelib.util
Interface Filter<T extends @Nullable Object>
- Type Parameters:
T- the type of arguments toaccept(T)
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
Interface for things that make boolean decisions. This is inspired by
java.io.FilenameFilter.-
Method Summary
-
Method Details
-
accept
Deprecated.Returns true if a specified Object satisfies the filter.- Parameters:
o- the object to test- Returns:
- true if the object satisfies the filter
-
java.util.function.Predicate