Lambdas
-
Groovy
Java 8 Lambdas vs Groovy Closures Compactness: Grouping And Summing
Java 8 is featuring lambdas, which are similar to a construction Groovy has already for some time: closures. In Groovy…
Read More » -
Core Java
Lambda Expressions and Stream API: basic examples
This blog post contains a list of basic Lambda expressions and Stream API examples I used in a live coding…
Read More » -
Core Java
Playing with Java 8 – Lambdas, Paths and Files
I needed to read a whole bunch of files recently and instead of just grabbing my old FileUtils.java that I…
Read More » -
Core Java
Java 8 Features Tutorial – The ULTIMATE Guide (PDF Download & video)
EDITORIAL NOTE: In this post, we feature a comprehensive Java 8 Features Tutorial. It’s been a while since Java 8…
Read More » -
Core Java
Playing with Java 8 – Lambdas and Concurrency
So Java 8 was released a while back, with a ton of features and changes. All us Java zealots have…
Read More » -
Core Java
Clean Synchronization Using ReentrantLock and Lambdas
Recently I was reading an informative post about the differences between synchronized vs ReentrantLock by Javin Paul1. He emphasises on…
Read More » -
Core Java
Creating your own loop structure in Java 8 lambda
Java doesn’t have an easy construct of repeat something N number of times. We can make a for loop of…
Read More » -
Core Java
The Dark Side Of Lambda Expressions in Java 8
This post may not make me any new friends. Oh well, I was never really popular at school anyway. But…
Read More » -
Core Java
Simplifying ReadWriteLock with Java 8 and lambdas
Considering legacy Java code, no matter where you look, Java 8 with lambda expressions can definitely improve quality and readability.…
Read More »