Core Java
-

Object and Index Streams
I was going to write a post about how to blend a stream with the indices of each element, but…
Read More » -

How To Deep Clone An Object Using Java In Memory Serialization
In my previous articles, I had explained the difference between deep and shallow cloning and how copy-constructors and defensive copy…
Read More » -

How to Customize Serialization In Java By Using Externalizable Interface
In a previous article Everything About Java Serialization Explained With Example, I explained how we can serialize/deserialize one object usingSerializable…
Read More » -

What is Serialization? Everything You Need to Know About Java Serialization Explained With Example
In a previous article, we looked at 5 different ways to create objects in java, I have explained how deserialising…
Read More » -

Java: An Optional Implementation of Optional
The class java.util.Optional is implemented as a single immutable concrete class that internally handles two cases; one with an element…
Read More » -

Java: Benefit from Inline Class Properties Starting from Java 8
In some years, Java will hopefully have an “inline class” feature which solves many challenges with the current state of…
Read More » -

Why Declarative Coding Makes You a Better Programmer
Declarative solutions with functional composition provide superior code metrics over legacy imperative code in many cases. Read this article and…
Read More » -

java.lang.Record: Draft Specification
Work on proposed Java Records continues to proceed. Brian Goetz started three new threads on the OpenJDK amber-spec-experts mailing list…
Read More » -

Draft JEP to Remove Deprecated CMS Garbage Collector
In the 10 April 2017 post “Java Garbage Collectors: When Will G1GC Force CMS Out?,” I discussed JEP 291 (“Deprecate…
Read More »
