Lambda expression allows simplifying an interface implementation, but only in the case of an interface with one abstract method only (called a functional interface). Instead of creating a class that implements the interface (and pass its object as a parameter), a lambda expression allows to to pass in only the method body, without creating an […]
Articles related to : functional programming
Java functional programming
October 9, 2018 Java programming
Functional programming sounds daunting for those, who are not familiar with it. But in fact, it is a very easy and elegant concept that allows writing much less and more compact code that contains only the essential functionality – without any plumbing.