Annotation Type FunctionalInterface


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface FunctionalInterface
Marks an interface that is meant to be a functional interface: exactly one abstract method, so a lambda or method reference can implement it. It documents the intent and changes nothing about the interface.