eclipse-collections icon indicating copy to clipboard operation
eclipse-collections copied to clipboard

Implement MapIterable.collectKeyAndValue()

Open nikhilnanivadekar opened this issue 5 years ago • 0 comments

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.

nikhilnanivadekar avatar Oct 21 '20 16:10 nikhilnanivadekar