Core Java
-
Fat vs. Skinny Design
It seems that type/class hierarchies in OOP may be designed in two extreme ways: either with full encapsulation of data…
Read More » -
Validating code and architecture constraints with ArchUnit
Introduction ArchUnit is a library for checking Java code against a set of self defined code and architecture constraints. These…
Read More » -
How Linear Search or Sequential Search Algorithms works in Java? Example Tutorial
Hello guys, earlier, I have talked about how the binary search algorithm works and shared the code to implement the…
Read More » -
Java14: Join Database Tables with Java 14’s new Record
Did you know that you can join database tables into a Java Stream with Java 14’s preview record feature? Read…
Read More » -
JDK 14/JEP 305 instanceof Pattern Matching “Smart Casts”
I generally view the presence of the instanceof operator in Java code as a “red flag,” meaning that it’s not…
Read More » -
Source Code for Effective Java Third Edition Updated to Use Newer Features
Those who have read the Third Edition of Effective Java are likely aware of the source code associated with that…
Read More » -
Java – Missing font – Crashing App!
Eclipse MAT, Heaphero are all popular java tools to analyze large size heap dumps. Recently we ran in to an…
Read More » -
Set Visual Studio Code as default editor in jshell
Java Shell (jshell) is an interactive tool for learning and prototyping in Java. It was introduced with Java 9 and…
Read More » -
How to use regular expression in Java?
Regular expressions are very important tool for seraching in text. Below is the code snippet for executing regex search and…
Read More »