java

Java getter/setter used as Lamda’s Programming

Java getter/setter used as Lamda’s

Once again I'm looking into ways to make coding so much easier. I needed to be able to pass in a Class::get and a Class:set as a Lamda in order to be able to reuse code across types. It's a rather simple process. However I have not found it r…
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
Maven for the Beginner Technology

Maven for the Beginner

Maven is a Java project's build system.  I have seen other attempts to create an all encompassing system, and really had not used Maven, not really seeing a big difference between it and Ant.  Until a project I started on six months ago that …
UnitOfTime – Measure and convert you milliseconds Programming

UnitOfTime – Measure and convert y…

Continuing my series on advanced classes that are handy to have around when needed.  I have created the UnitOfTime.  This class is used to convert a number of milliseconds over to a more understandable period of time. (more…)