Using a stream to convert one Map type to another?
I’m trying to turn Map<String, A>
into Map<String, B>
with a stream. I have a function that turns A into B, namely A.fromB()
.
I’m trying to turn Map<String, A>
into Map<String, B>
with a stream. I have a function that turns A into B, namely A.fromB()
.