Java 8
-
Core Java

Java 8 : Functional VS Traditional
The business logic is the same : Given a String expression composed of visits / time like : “1/24h,1..3/3h,5/*” Then…
Read More » -
Core Java

Java yield-like using Stream API
Several programming languages, such as Ruby or Python to name a few, provides the yield command. Yield provides an effective…
Read More » -
Core Java

Oracleās Latest Java 8 Update Broke Your Tools ā How Did it Happen?
If youāve been keeping up with the news in the Java world lately, youāve probably heard that the latest Java…
Read More » -
Core Java

Default Methods: Java 8’s Unsung Heros
A few weeks ago I wrote a blog saying that developers learn new languages because they’re cool. I still stand…
Read More » -
Core Java

Testing code for excessively large inputs
When writing unit tests we mostly focus on business correctness. We do our best to exercise happy path and all…
Read More » -
Core Java

The lepidopteristās curse: Playing with java.time
Pop quiz: What will be the output of this little program? …
Read More » -
Enterprise Java

Spring 4.1 and Java 8: java.util.Optional
As of Spring 4.1 Java 8ās java.util.Optional, a container object which may or may not contain a non-null value, is…
Read More » -
Core Java

Clean JUnit Throwable-Tests with Java 8 Lambdas
Recently I was involved in a short online discussion on twitter and google+ which concerned the question why the arrival…
Read More » -
Core Java

Grouping, sampling and batching – custom collectors in Java 8
ContinuingĀ first article, this time we will write some more useful custom collectors: for grouping by given criteria, sampling input, batching…
Read More »


