Java Functional Programming : 2. Lambda Expressions & Java Functional Interfaces

This is the multi part series on Java Functional Programming 2. Lambda Expressions & Java Functional Interfaces Since this topic could be new to most of the programmers we would address it in an iterative way. We shall throw in the concepts without much detail, and make the programmer understand one aspect of it. Then when that is clear we shall come back and then begin with another aspect. This way in many iterations and repeating different aspects the programmer would get a fair knowledge of the subject. IT is advised that the programmer practice and refers the Java API along the way. No amount of reading can replace the virtues of a first-hand programming. In programming, a Lambda Function (or Lambda Expression or Anonymous Function) is a function definition which is not bound to an identifier. They are passed as a parameter to higher order function and can be returned back from a function. Java did not have a framework to define just the function and pass the...