Core Java
-
Synthetic and bridge methods
If you have ever played with reflection and executed getDeclaredMethods() you may have been surprised. You may get methods that…
Read More » -
Common gotchas in Java
Overview Java is a minimalist language with deliberately less features than other languages, never the less it has edge cases…
Read More » -
Functional Programming with Java 8 Lambda Expressions – Monads
What is a monad?: A monad is a design pattern concept used in mostly functional programming languages like lisp or…
Read More » -
Detecting (write) failures when using memory mapped files in Java
Memory mapped files are a good and often overlooked tool. I won’t go into the details here on how they…
Read More » -
A deeper look into the Java 8 Date and Time API
Within this post we will have a deeper look into the new Date/Time API we get with Java 8 (…
Read More » -
Externalizable in java
Before understanding Externalizable interface, you need to have idea about Serialization.You can read more about Serialization at Serialization in java.…
Read More » -
Design Pattern: Immutable Embedded Builder
Last week I wrote about what makes a pattern anti-pattern. This week I present a design pattern… or wait… perhaps…
Read More » -
Java 8: Sorting values in collections
Having realised that Java 8 is due for its GA release within the next few weeks I thought it was…
Read More » -
Getting started with Mocking in Java using Mockito
We all write unit tests but the challenge we face at times is that the unit under test might be…
Read More »