Core Java
-
Java, if this were a better world
Just a little dreaming about a better world, where some old blunders in the Java platform would’ve been corrected and…
Read More » -
Using Google Guava’s Ordering API
We’ve been playing a bit more with Google’s Guava library – what a great library! The most recent thing we…
Read More » -
Java 8: From PermGen to Metaspace
As you may be aware, the JDK 8 Early Access is now available for download. This allows Java developers to…
Read More » -
Defensive API evolution with Java interfaces
API evolution is something absolutely non-trivial. Something that only few have to deal with. Most of us work on internal,…
Read More » -
40 Java Collections Interview Questions and Answers
Java Collections Framework are the fundamental aspect of java programming language. It’s one of the important topic for java interview…
Read More » -
Static factory methods vs traditional constructors
I’ve previously talked a little bit about the Builder Pattern, a useful pattern to instantiate classes with several (possibly optional)…
Read More » -
The ins and outs of immutability
So in my first post I talked a little bit about the builder pattern and I mentioned a really powerful…
Read More » -
The builder pattern in practice
I’m not going to dive into much details about the pattern because there’s already tons of posts and books that…
Read More » -
Implementing Producer/Consumer using SynchronousQueue
Among plenty of useful classes which Java provides for concurrency support, there is one I would like to talk about:…
Read More »