fun with closure in java 8 .

fun with closure in java 8 .