Core Java
-

Java – Get Time In MilliSeconds
A quick guide to get the current date time in milliseconds using Date, Calendar and java 8 api classes. 1.…
Read More » -

Java Program To Check Palindrome String Using Recursion
A quick guide to check the string is palindrome or not using recursion in java. 1. Overview In this tutorial,…
Read More » -

Converting Between LocalDate and SQL Date In Java 8
A quick guide to convert between LocalDate and java.sql.Date objects in java 8 with examples. 1. Overview In this tutorial,…
Read More » -

Introduction to GraalVM (Community Edition): Revolution or Evolution?
1. Introduction Over the last couple of years we have witnessed the astonishing pace and scale of the innovations in…
Read More » -

ThreadLocal in Java – Example Program and Tutorial
ThreadLocal in Java is another way to achieve thread-safety apart from writing immutable classes. If you have been writing multi-threaded…
Read More » -

Java Extension Methods
Whither Extension Methods? Apparently, there’s a java dialect called XTend which does this, but there’s no obvious equivalent of extension…
Read More » -

Overview of implementing Distributed Locks
As we know, locks are generally used to monitor and control access to shared resources by multiple threads at the…
Read More » -

JDK 16: Checking Indexes and Ranges of Longs
In my last post, I described the day period support added with JDK 16 Early Access Build 25. That same…
Read More » -

Static Factories are Great!
Every now and then I jump on classes with multiple constructors or classes that are rigorous to work with. Let…
Read More »
