Playing with Streams

Hi! Guyz, I just amazed by a example during my learning of java8 stream API let me tell you. Earlier if I have a list of objects and I want them to be filtered and made groups of no of objects on basis of some property of Object. I used to follow the approach shown... Continue Reading →

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 ↑