Caching Objects
Sometimes you need to maintain a large number of objects in memory. If it is strings you may want to take a look at StringCache, which is based on my…
Team to Create Outside the Box
Sometimes you need to maintain a large number of objects in memory. If it is strings you may want to take a look at StringCache, which is based on my…
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 called for a complex filter that was needed for selecting specific elements from a large data set. Looking at various methods of doing…
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…
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…
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…
Not very often do I need to take a number of bytes and convert them into the most appropriate measurement. This came up recently on a project and I thought…