JAVA

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…