Java, Eclipse Collections, Open Source, Software Development, Programming.
partitioningBy like Partition, but it’s still essentially a Pair of two things of the same type. We don’t need a Pair type! A well-reasoned decision was made to not add a generic Pair type or support for generic tuples in Java. Instead, the use of named types created via Java Records are