Java 8
-
Core Java
On Java 8’s introduction of Optional
I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid…
Read More » -
Core Java
Predicate and Consumer Interface in java.util.function package in Java 8
In my previous post I wrote about Function interface which is part of java.util.package. I also mentioned about Predicate interface…
Read More » -
Core Java
Function interface – A functional interface in the java.util.function package in Java 8
I had previously written about functional interfaces and their usage. If you are exploring the APIs to be part of…
Read More » -
Core Java
Java 8 Lambdas – The missing link to moving away from Java
I learnt functional programming, but then I decided I liked imperative programming better so I switched back. — Nobody, ever…
Read More » -
Core Java
Extracting the elements of the Java Collection- The Java 8 way
We all have extensively used Collection classes like List, Map and their derived versions. And each time we used them…
Read More » -
Core Java
Introduction to Functional Interfaces – A concept recreated in Java 8
Any java developer around the world would have used at least one of the following interfaces: java.lang.Runnable, java.awt.event.ActionListener, java.util.Comparator, java.util.concurrent.Callable.…
Read More » -
Core Java
Introduction to Default Methods (Defender Methods) in Java 8
We all know that interfaces in Java contain only method declarations and no implementations and any non-abstract class implementing the…
Read More » -
Core Java
Java Collections API Quirks
So we tend to think we’ve seen it all, when it comes to the Java Collections API. We know our…
Read More » -
Core Java
Using Lambda Expression to sort a List in Java 8 using Netbeans Lambda Support
As part of JSR 335 Lambda expressions are being introduced to the Java language from Java 8 onwards and this…
Read More »