JMH benchmark with examples
JMH (Java Microbenchmark Harness) is a Java harness library for writing benchmarks on the JVM. In this post, we will learn about JVM benchmark.
Monthly Archives: January 2020
JMH (Java Microbenchmark Harness) is a Java harness library for writing benchmarks on the JVM. In this post, we will learn about JVM benchmark.
Java 8 streams are lazy. The intermediate operations will not be executed till a terminal operation is invoked. But, Java 8 streams flatMap are not lazy.
The Facade Design Pattern provides a unified interface to a set of interfaces in a subsystem. It defines a higher level interface that makes the subsystem easier to use.
Java has two ways to iterate over the elements of a collection - using an Enumeration and an Iterator. This post explains Enumeration and Iterators in Java.