Core Java
-
Polymorphic Input/Output Data
When developing any kind of code interface, whether it is an elegant object oriented package or one of those ugly…
Read More » -
Eliminating Null Pointer Exceptions from your Java Applications
This post is a brief introduction to one of the most useful yet “un-glamorous” features of Java 8. Programmers have…
Read More » -
Java 12: Mapping with Switch Expressions
In this article, we will be looking at the new Java 12 feature “Switch Expressions” and how it can be…
Read More » -
Sorting a HashMap In Java
Introduction: In this tutorial, we’ll learn how to sort a Java HashMap. We can sort a HashMap either by keys or…
Read More » -
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 »