Complex Queries for Java data JAVA

Complex Queries for Java data

Recently a project I was working on called for a complex filter that was needed for selecting specific elements from a large data set. Looking at various methods of doing this, none provided a simple method to do so. First I wrote out my own Predicat…
Minecraft Functions meets Java Minecraft

Minecraft Functions meets Java

My son has gotten into Minecraft and Star Wars. He wanted the two of us to build the Death Star in Minecraft. That is not a small undertaking. I got thinking about it, and came up with the idea to use Java to create function files that would create t…
List v’s Array JAVA

List v’s Array

Discussion on which is the better choice of type to return from a method or function for multiple items. Both have their values, but flexibility gives you the most options. Brief discussion on the advantages.
Geo – Fence JAVA

Geo – Fence

Every need to define an area and determine if a location is within that range? This is called a GeoFence. Very handy and useful for any kind of GPS tracking. Define the GeoFence area, then you can use checkInside() to see if a GeoLocation is inside o…
Geo – Path JAVA

Geo – Path

Once you have GeoLocations, you can then make shapes for them. So we create a GeoShape Interface that allows us to define our shape. View this gist on GitHub We implement a forEach() method to be able to act on each location in the shape, and a getGe…
ListUtils Page JAVA

ListUtils Page

Ever have a list, that you need to paginate through? I certainly have, I created a simple method to ListUtils to make it easier. /** * Performs pagination on the List, returning the indicated page of elements, or an empty ist. * @param list List to p…
CalUtils JAVA


Recently had a need to break things out over a given date range into month-long increments. I found a solution that did this, however, I was not happy with it using the old Calendar() API. I set about creating a new implementation for this based on L…