String Cache
Sometimes an application will have a large number of Strings. Due to memory we certainly do not want to keep multiple instances of duplicate strings in memory. A string cache…
Sometimes an application will have a large number of Strings. Due to memory we certainly do not want to keep multiple instances of duplicate strings in memory. A string cache…
Recently a project I was working on required the ability to load up a number of unknown services that implemented a Calendar Provider Interface. As this was a Spring server,…
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…
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…
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.…
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.…
Once you have GeoLocations, you can then make shapes for them. So we create a GeoShape Interface that allows us to define our shape. We implement a forEach() method to…