Core Java
-
Would you dare to change HashMap implementation?
There are bold engineers working for the Oracle nowadays. I came to this conclusion when trying to nail down a…
Read More » -
Top 10 Lists of Common Java Mistakes (That Makes Top 100!)
Top 10 lists are very popular, fun, and informative to read. But there are so many of them! How to…
Read More » -
Too Many Parameters in Java Methods, Part 7: Mutable State
In this seventh post of my series on addressing the issue of too many parameters in a Java method or…
Read More » -
Too Many Parameters in Java Methods, Part 6: Method Returns
In the current series of posts I am writing on reducing the number of parameters required to call Java methods…
Read More » -
Does Java 8 Still Need LINQ? Or is it Better than LINQ?
LINQ was one of the best things that happened to the .NET software engineering ecosystem in a long time. With…
Read More » -
Java final fields on x86 a no-op?
I have always enjoyed digging in to the details of multi-threaded programming, and always enjoy that despite reading for years…
Read More » -
How is ThreadLocal implemented?
This is a follow-up to my last week post, where I explained the motivation behind ThreadLocal usage. From the post…
Read More » -
Sending a mail in Java (and Android) with Apache Commons Net SMTP : STARTTLS, SSL
Recently working on an Android experiment, I wanted to send emails using a SMTP server, using authentication and encryption, from…
Read More » -
Java implementation of Optimal String Alignment
For a while, I’ve used the Apache Commons lang StringUtils implementation of Levenshtein distance. It implements a few well known…
Read More »