Java, Eclipse Collections, Open Source, Software Development, Programming.
Any incurred cost is moved instead to the application developers that use Map as a return type. The following Map return types used in Collectors can never be changed. These Map return types were introduced on Collectors when Java 8 was released. // Map<Boolean, List<T>> -> Pair<T, T>