Core Java
-

CompletableFuture can’t be interrupted
I wrote a lot about InterruptedException and interrupting threads already. In short if you call Future.cancel() not inly given Future…
Read More » -

Automatic promotion of artifacts to Maven Central from Gradle
Quick tutorial how to promote/release artifacts in a Gradle project to Maven Central, without clicking in the Nexus GUI with…
Read More » -

Functional Interfaces
Table Of Contents 1. Introduction 2. Justification 3. Lambda Expressions 4. Predicate<T> 5. BiPredicate<T,U> 6. Function<T,R> 7. BiFunction<T,U,R> 8. Consumer<T>…
Read More » -

Displaying Paths in Ant
In the blog posts Java and Ant Properties Refresher and Ant <echoproperties /> Task, I wrote about how being able…
Read More » -

Using jstat to report custom JVM metric sets
I’ve always been missing possibility to configure custom headers in JStat. Of course there are a lot of predefined data…
Read More » -

Yet another Java 8 Lamdbas and Streams example
I’ve been lagging behind with what Java 8 features exercising concerns, so in this post I will briefly present my initial…
Read More » -

Validating XML Against XSD(s) in Java
There are numerous tools available for validating an XML document against an XSD. These include operating system scripts and tools…
Read More » -

One Year After Java 8’s Release, IDEs and Compilers are not Fully Ready Yet
One year ago, on March 18, 2014, Java SE 8 was released, and with it, the bliss of functional programming…
Read More » -

Creating Millions of Objects with Zero Garbage
As noted in First rule of performance optimisation, garbage is the enemy of fast code. Not only can it destroy any sort…
Read More »


