Core Java
-
Which is better option: Cloning or Copy constructors?
Here is how I started writing this article. I have read this statement so many times: “Cloning becomes difficult when…
Read More » -
Java 8 Friday Goodies: The New New I/O APIs
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Implementing dynamic proxies – a comparison
Sometimes there is the need to intercept certain method calls in order to execute your own logic everytime the intercepted…
Read More » -
Using regex to hanging indent a paragraph in Java
This post shows how to hanging indent a long paragraph using regular expression. The method will consider word boundaries, which…
Read More » -
sun.misc.Unsafe and off heap memory
The class sun.misc.Unsafe allows you to many of the things you shouldn’t be able to do in Java, but are…
Read More » -
How to estimate memory consumption?
This story goes back at least a decade, when I was first approached by a PHB with a question “How…
Read More » -
Java 8 Friday Goodies: Lambdas and XML
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Java 8 Friday Goodies: java.io finally rocks!
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
GC impact on throughput and latency
One type of the problems each and every Java application out there has to wrestle with is related to garbage…
Read More »