Core Java
-
Better Default NullPointerException Messages Coming to Java?
I have recently been interested in a February 2019 into March 2019 discussion on the OpenJDK core-libs-dev mailing list regarding…
Read More » -
How to Find Middle Element of Linked List in Java in Single Pass
Howdo you find the middle element of LinkedList in one pass is a programming question often asked Java and non-Java…
Read More » -
Java Convert a List to Array And Vice-Versa
Introduction: In this article, we’ll quickly learn how to convert a Java List (say an ArrayList) to an array and vice-versa. If you wish to…
Read More » -
Java 12 General Availability
Mark Reinhold announced today that “JDK 12, the reference implementation of Java 12, is now Generally Available.” In that announcement,…
Read More » -
Java UUID
Introduction: UUID (Universal Unique Identifier) represents a 128-bit long unique value. It’s also popularly known as GUID (Globally Unique Identifier). The standard…
Read More » -
Check If Two Lists Are Equal In Java
Introduction: Lists in Java are ordered by nature. So, two lists are considered to be equal if they contain the…
Read More » -
CopyOnWriteArrayList In Java
Introduction: CopyOnWriteArrayList in Java is a thread-safe implementation of a List interface. It belongs to the java.util.concurrent package and is…
Read More » -
Top 5 Java Test Frameworks For Automation In 2019
For decades, Java has been the most preferred programming language for developing the server side layer of an application. Although…
Read More » -
Java – Remove all nulls from a List
Introduction: In this article, we’ll learn how to remove nulls from a Java List using plain-old Java, Java 8 lambda…
Read More »