Java, Eclipse Collections, Open Source, Software Development, Programming.
whenever possible. I think returning the Partition type for partitioningBy would have made more sense to return instead of a Map. This would have meant exposing a new public type. The Partition type is private static. The new public type wouldn’t need to be a completely generic type like Pair.