eclipse-collections
eclipse-collections copied to clipboard
Implement MapIterable.collectKeyAndValue()
Currently, the only way to collectKeyAndValue() on a MapIterable is by using a Function2 and returning a Pair. But that is unnecessary and inefficient as we create a Tuple for every execution. I am fine it being another overloaded collect() method as well.