AO Collections Changelog

ao-collections-3.0.0

Release Notes

  • Breaking change:AoCollections.filter(List, Class) now returns null when list == null, instead of an empty list. This is for consistency with other methods.
  • AoArrays, AoCollections, and Sets now accept null parameters instead of throwing NPE, where it makes sense. An example is unmodifiable wrappers: null is arguably already unmodifiable.

ao-collections-2.0.0

Release Notes

  • MinimalList.copy(List) optimized to return Collections.emptyList() when the list is empty. This was the intent all along, but was lost in some previous refactoring. The method still worked correctly, in that it created a safe copy of the original list, but was sub-optimal.
  • Now supports Java 9+ modules with included module-info.class.
  • Maven artifact relocated from com.aoindustries:ao-collections to com.aoapps:ao-collections.
  • Package renamed from com.aoindustries.collections to com.aoapps.collections.

ao-collections-1.2.0

Release Notes

  • New utility methods to create HashSet and HashMap to hold a given number of elements. These are useful as lambda method references, where performing the typical computation inline would be unnecessarily verbose.
  • IdentityKey now has a NULL constant, along with static factory methods to use this constant for null values.

ao-collections-1.1.0

Release Notes

  • Fixed SortedProperties compatibility with Java 9+ by also sorting entrySet().

    Also added getKeyComparator() method to support different sort orders.

ao-collections-1.0.0

Release Notes

  • Project split out of AO Lang and AO Hodgepodge.
  • New utility class Sets for working with sets. Prefer functionality in Commons Collections or other more mainstream places. These methods are things not so concisely doable in commons collections.