ao-collections-4.0.0-SNAPSHOT
Snapshot Notes
- Updated to Checkstyle 10.21.1.
- Minimum Java version changed from 1.8 to 11.
ao-collections-3.0.0
Release Notes
- Breaking change:
AoCollections.filter(List, Class)now returnsnullwhenlist == null, instead of an empty list. This is for consistency with other methods. AoArrays,AoCollections, andSetsnow acceptnullparameters instead of throwing NPE, where it makes sense. An example is unmodifiable wrappers:nullis arguably already unmodifiable.
ao-collections-2.0.0
Release Notes
MinimalList.copy(List)optimized to returnCollections.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-collectionstocom.aoapps:ao-collections. - Package renamed from
com.aoindustries.collectionstocom.aoapps.collections.
ao-collections-1.2.0
Release Notes
-
New utility methods to create
HashSetandHashMapto hold a given number of elements. These are useful as lambda method references, where performing the typical computation inline would be unnecessarily verbose. IdentityKeynow has aNULLconstant, along with static factory methods to use this constant fornullvalues.
ao-collections-1.1.0
Release Notes
Fixed
SortedPropertiescompatibility with Java 9+ by also sortingentrySet().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
Setsfor working with sets. Prefer functionality in Commons Collections or other more mainstream places. These methods are things not so concisely doable in commons collections.