Java 8
-
Core Java
Cheating with Exceptions – Java 8 Lambdas
Cheating with Exceptions – Java 8 Lambdas Leaving aside the religious debate about Checked vs Runtime exceptions, there are times…
Read More » -
Core Java
JUnit: Testing Exceptions with Java 8 and AssertJ 3.0.0
AssertJ 3.0.0 release for Java 8 makes testing exceptions much easier than before. In one of my previous blog post…
Read More » -
Core Java
Using Rhino with Java 8
Java brings Nashorn as new JavaScript implementation for JSR 223 (javax.scripting). While this is certainly great news (Nashorn is way…
Read More » -
Core Java
The JDK 8 SummaryStatistics Classes
Three of the new classes introduced in JDK 8 are DoubleSummaryStatistics, IntSummaryStatistics, and LongSummaryStatistics of the java.util package. These classes…
Read More » -
Enterprise Java
How to FlatMap a JDBC ResultSet with Java 8?
You’re not into the functional mood yet? Then the title might not resonate with you – but the article will!…
Read More » -
Core Java
Java 8 Lambdas in One Line
If you understand this line, or better still can write this code you can pretty much say that you have…
Read More » -
Core Java
How to Use Java 8 Streams to Swiftly Replace Elements in a List
Imagine you have a list of items: List<String> books = Arrays.asList( "The Holy Cow: The Bovine Testament", "True Hip Hop",…
Read More » -
Core Java
Yet another Java 8 Lamdbas and Streams example
I’ve been lagging behind with what Java 8 features exercising concerns, so in this post I will briefly present my initial…
Read More » -
Core Java
One Year After Java 8’s Release, IDEs and Compilers are not Fully Ready Yet
One year ago, on March 18, 2014, Java SE 8 was released, and with it, the bliss of functional programming…
Read More »