Lambdas
-
Software Development
5 Java Development Trends Shaping the Landscape in 2023
In the ever-evolving realm of software development, Java continues to play a pivotal role as a versatile and robust programming…
Read More » -
Core Java
Java 8: Converting Anonymous Classes to Lambda Expressions
Refactoring anonymous classes (that implement one single method) to lambda expressions, makes your code more succint and readable. For example,…
Read More » -
Core Java
Simplifying nested loops with Java 8 Lambdas
This is just a quick tip for everyone who often has to work with multi dimensional arrays in Java 8…
Read More » -
Core Java
Lambda of Lambda, if/else from an Optional
So I got frustrated with two limitations of the Optional interface in JDK 8. The first problem is that there…
Read More » -
Core Java
Decorator Design Pattern using lambdas
With the advent of lambdas in Java we now have a new tool to better design our code. Of course…
Read More » -
Core Java
Using Java 8 Lambdas, Streams, and Aggregates
Overview In this post, we’ll take a look at filtering and manipulating objects in a Collection using Java 8 lambdas,…
Read More » -
Core Java
Java 8 Lambda Expression for Design Patterns – Decorator Design Pattern
The Decorator pattern (also known as Wrapper) allows behavior to be added to an individual object, either statically or dynamically,…
Read More » -
Core Java
Benchmark: How Java 8 Lambdas and Streams Can Make Your Code 5 Times Slower
How Java 8 lambdas and streams perform compared to longstanding implementations? Lambda expressions and streams received an heartwarming welcome in…
Read More » -
Core Java
The Danger of Subtype Polymorphism Applied to Tuples
Java 8 has lambdas and streams, but no tuples, which is a shame. This is why we have implemented tuples…
Read More »