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.
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… JAVA

Sometimes you need to guarantee a list is safe to use. A simple method can make sure your safe to use the list, or have an empty list that would be safe for use. /** * Guarantees a list will be safe to use, even if null. * @param list List to check i…