-
Core Java
Java 8: A Type Safe Map Builder Using Alternating Interface Exposure
Expose Your Classes Dynamically When I was a Java newbie, I remember thinking that there should be a way of…
Read More » -
Software Development
Can Event Streaming Make My Business More Productive?
Editor’s Note: Download the free O’Reilly ebook, “Streaming Architecture: New Designs Using Apache Kafka and MapR Streams” to learn how event streaming can…
Read More » -
Core Java
Java: Immortal Objects and Object Resurrection
What is Object Resurrection? A Java object is eligible for Garbage Collection when no other object references the object. When…
Read More » -
Core Java
Watch Out For Recursion in Java 8’s [Primitive]Stream.iterate()
An interesting question by Tagir Valeev on Stack Overflow has recently caught my attention. To keep things short (read the…
Read More » -
Core Java
Java 8: Declare Private and Protected Methods in Interfaces
When Java 8 was introduced, we could use default methods in interfaces. The main driver for this feature was to…
Read More » -
Core Java
Put Your Java 8 Method References to Work
Method References As we all know by now, we can use Method References, like String::isEmpty, in Java 8 to reference…
Read More » -
Software Development
Create UML diagrams with simple DSL – PlantUML
Historically I disliked creating design UML diagrams, because the tooling for it mostly requires drawing boxes and connecting them with…
Read More » -
Core Java
Verifying DateTime and Date with Hamcrest
Since I started diving into automated testing and practicing TDD, verification of date values was pain. Luckily there is nice…
Read More » -
Software Development
Time for some Funky SQL: Prefix Sum Calculation
This Stack Overflow question has yet again nerd-sniped me: [finding the] maximum element in the array that would result from…
Read More »