Java 8
-
Core Java
Java 8 Functional Programming: Lazy Instantiation
Singletons often instantiate themselves lazily, and sometimes, if the object is heavy enough, class fields can be instantiated lazily. Generally,…
Read More » -
Core Java
Using Java 8 to Prevent Excessively Wide Logs
Some logs are there to be consumed by machines and kept forever. Other logs are there just to debug and…
Read More » -
Core Java
Java Lambdas and Low Latency
Overview The main question around the use of Lambdas in Java and Low Latency is; Does they produce garbage and…
Read More » -
Core Java
2015 Starts Off Strong for Java 8
JDK 8 is starting 2015 with a surge in popularity in terms of blog posts and articles. This is coinciding…
Read More » -
Core Java
Java8 Sorting – Performance Pitfall
Java 8 brings all the goodness of lambdas to enable us to program using a declarative style. But is it…
Read More » -
Core Java
Fail-fast validations using Java 8 streams
I’ve lost count of the number of times I’ve seen code which fail-fast validates the state of something, using an…
Read More » -
Core Java
Java 8 Stream and Lambda Expressions – Parsing File Example
Recently I wanted to extract certain data from an output log. Here’s part of the log file: …
Read More » -
Core Java
Stream-Powered Collections Functionality in JDK 8
This post presents application of JDK 8 – introduced Streams with Collections to more concisely accomplish commonly desired Collections-related functionality.…
Read More » -
Core Java
How To Process Java Annotations
One of the cool new features of Java 8 is the support for lambda expressions. Lambda expressions lean heavily on…
Read More »