Package org.plumelib.util
Interface Filter<T extends @Nullable Object>
- Type Parameters:
T
- the type of arguments toaccept(T)
public interface Filter<T extends @Nullable Object>
Interface for things that make boolean decisions. This is inspired by
java.io.FilenameFilter
.-
Method Summary
-
Method Details
-
accept
Tests whether a specified Object satisfies the filter.- Parameters:
o
- the object to test- Returns:
- whether the object satisfies the filter
-