- Breaking change:
AoCollections.filter(List, Class)now returns
list == null, instead of an empty list. This is for consistency with other methods.
nullparameters instead of throwing NPE, where it makes sense. An example is unmodifiable wrappers:
nullis arguably already unmodifiable.
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
- Maven artifact relocated from
- Package renamed from
New utility methods to create
HashMapto 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 a
NULLconstant, along with static factory methods to use this constant for
SortedPropertiescompatibility with Java 9+ by also sorting
getKeyComparator()method to support different sort orders.