Using java.util.stream.Collector Programming

Using java.util.stream.Collector

Search for this lovely gem that came in Java 8, and you will find plenty of articles on how to create your own Collector, and calling Streams.collect() with a collector to gather the data into a collection. Neither of these was the problem I …
Java’s missing TreeMap Programming

Java’s missing TreeMap

One thing I have always found lacking in Java collections/containers is TreeMap. A simple class that takes a hierarchical approach to mapping data to a node.  Given a hierarchical string like "/java/myapp/javafx/config/phone" I can set the va…
Advertisements
JavaFx Maven Docker Image Programming

JavaFx Maven Docker Image

Recently when setting up a Jenkins build environment to use a Docker Image with Maven that could build a JavaFX project.  Thanks to some searching and a bit of hunting I was able to create a Docker image to perform just what I needed: OpenJDK…