Core Java
-
Java Extension Methods
Whither Extension Methods? Apparently, there’s a java dialect called XTend which does this, but there’s no obvious equivalent of extension…
Read More » -
Overview of implementing Distributed Locks
As we know, locks are generally used to monitor and control access to shared resources by multiple threads at the…
Read More » -
JDK 16: Checking Indexes and Ranges of Longs
In my last post, I described the day period support added with JDK 16 Early Access Build 25. That same…
Read More » -
Static Factories are Great!
Every now and then I jump on classes with multiple constructors or classes that are rigorous to work with. Let…
Read More » -
Day Period Support in JDK 16
JDK 16 Early Access Build 25 (2020/11/18) includes changes for JDK-8247781 (“Day periods support”). As stated in the JDK 16…
Read More » -
Testing with Hoverfly and Java Part 4: Exact, Glob and Regex Matchers
Previously we used Hoverfly among its state feature. So far our examples have been close to an absolute request match,…
Read More » -
Constrast DataWeave and Java mapping operations
Main points: DataWeave 2.0 provides mapping capabilities Java and DataWeave can achieve the same mappings DataWeave mapping operator is less…
Read More » -
Saving JetBrains MPS models in a database using Modelix
JetBrains MPS is our tool of choice to build Domain Specific Languages targeting professionals who are not developers. MPS is…
Read More » -
Permutation – Heap’s Algorithm
This is a little bit of experimentation that I did recently to figure out a reasonable code to get all…
Read More »