public interface Predicate { /** * Determine if a value meets the predicate. */ boolean test(T val); } // Predicate