Core Java
-
Java equals() and hashCode()
Introduction: Java Object class provides basic implementation of methods – hashCode() and equals(). These methods are extremely useful especially when…
Read More » -
WeakHashMap In Java
A WeakHashMap in Java is a pretty popular data-structure among mid to senior-level Java developers. The WeakHashMap class is present in…
Read More » -
Functional Java by Example | Part 7 – Treat Failures as Data Too
This is part 7 of the series called “Functional Java by Example”. The example I’m evolving in each part of…
Read More » -
When using JAXB
Not many examples show this, but how you use JAXB in your application can make a huge difference in the…
Read More » -
5 Refactoring Principles by Example
This post features five (mostly well-known) refactoring principles applied when refactoring real open-source code (Gradle Modules Plugin). Context When I…
Read More » -
A New Era for Determining Equivalence in Java?
Liam Miller-Cushon has published a document simply called “Equivalence” in which he proposes “to create a library solution to help…
Read More » -
Using Spliterator In Java
Introduction: Iterators in Java are used to traverse elements of a given source. Spliterator in Java is one among the…
Read More » -
How to Create QRCode Using QRGen in Java
In one of my previous articles, we saw how to create QRCode and its SVG equivalent using Zxing Java library.…
Read More » -
OpenJDK on GitHub
Project Skara was created “to … investigate alternative SCM and code review options for the JDK source code, including options…
Read More »