-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b99
-
Not verified
Annotate defines the following nested interface:
public interface Worker {
void run();
String toString();
}
This is a functional interface (as toString is override-equivalent with a j.l.Object method) and its uses can be replaced with lambdas.
public interface Worker {
void run();
String toString();
}
This is a functional interface (as toString is override-equivalent with a j.l.Object method) and its uses can be replaced with lambdas.
- relates to
-
JDK-8030283 Update langtools code base to use lambda expressions and streams
- Closed