Lambdas and Functional Interfaces

This is a one big contribution of java 8 in development. Lambdas treat functionality as method argument. In its simplest form, a lambda could be represented as a comma-separated list of parameters, the! symbol and the body. For example: Arrays.asList( "a", "b", "d" ).forEach( e -> System.out.println( e ) ); argument e  is being inferred by... Continue Reading →

Create a website or blog at WordPress.com

Up ↑