One can implement a functional interface this way:
abstract class predicate implements Predicate { public static boolean test(int e) {