Details
-
Enhancement
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
9
-
b20
Description
Javac defines this functional interface:
public interface Filter<T> {
boolean accepts(T t);
}
This has now become a duplicate of java.util.function.Predicate; javac should be refactored to use the JDK functional interface instead, and to use lambdas instead of anonymous inner classes.
public interface Filter<T> {
boolean accepts(T t);
}
This has now become a duplicate of java.util.function.Predicate; javac should be refactored to use the JDK functional interface instead, and to use lambdas instead of anonymous inner classes.