Java 8
-
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
Java 8 Streams: filter and predicate negation
Recently there was an interesting discussion on the use of predicate negation in the .filter method on a stream by…
Read More » -
Core Java
From Arrays to Streams and Back with Java 8
Not long ago we upgraded some Eclipse plug-in projects to Java 8. And never looked back since. Among many other…
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 » -
Core Java
Wrap around design pattern in java8
Wrap around pattern is not listed in in GOF book but is very useful for problem like below: Loop construct…
Read More » -
Core Java
Java 8 Lambda Expression for Design Patterns – Command Design Pattern
In this blog I would illustrate implementing the command pattern in functional programming style using Java 8 Lambda expressions. The…
Read More » -
Core Java
Comparing Imperative and Functional Algorithms in Java 8
Mario Fusco’s popular tweet impressively shows what the main difference between imperative and functional approaches to similar algorithms really is:…
Read More » -
Core Java
How to use Java 8 Functional Programming to Generate an Alphabetic Sequence
I’ve stumbled upon an interesting Stack Overflow question by user “mip”. The question was: I’m looking for a way of…
Read More » -
Core Java
Stream Performance
When I read Angelika Langer’s Java performance tutorial – How fast are the Java 8 streams? I couldn’t believe that…
Read More »