IntelliJ IDEA Create a functional interface with Alt + Enter #intellij #functionalinterface #java8

preview_player
Показать описание
A functional interface is an interface that has only one abstract method. Lambda expressions implement functional interfaces and that's why they are very valuable to create and use. You can use the optional @FunctionalInterface for indicating an interface as a functional interface.
Рекомендации по теме