Core Java
-

Optional.isEmpty() Available in JDK 11 EA Builds
My recently posted question “Optional.isEmpty() Coming to Java?” was prompted by a core-libs-dev mailing list post titled “RFR: 8184693: (opt)…
Read More » -

Stack Overflow Answers the Top Java Questions We Didn’t Know We Had
A collection of Stack Overflow questions that you shouldn’t miss out on: It’s no secret; we all use Stack Overflow.…
Read More » -

Java 11 upcoming features – Launch Single-File source programs
Java 11 is nearing completion and it’s entered the rampdown phase. It almost feels like a few weeks back that…
Read More » -

Java NIO Tutorial
1. Introduction Java NIO is a library introduced from Java 1.4. Java NIO has since its launch provided an alternative…
Read More » -

Fixing the if smell
From time to time we might end up with some huge if statements in our codebase. Those statements have to…
Read More » -

Deferred Execution with Java’s Predicate
In the previous posts “Deferred Execution with Java’s Supplier” and “Deferred Execution with Java’s Consumer“, I looked at easily deferring…
Read More » -

Reduce GC Overhead With These 5 Simple Hacks
Five simple ways to write code that’s more memory efficient, without spending more time on it or reducing code readability…
Read More » -

Applying New JDK 11 String Methods
In the posts “New Methods on Java String with JDK 11” and “String#repeat Coming to Java?“, I discussed six new…
Read More » -

Java 8 Stream examples
This post will help you to understand some of the important and frequently used Stream operations in Java 8 which…
Read More »

