I know how to \"transform\" a simple Java List from Y -> Z, i.e.:
List
Y
Z
List x; List y = x.stre
My StreamEx library which enhances standard stream API provides an EntryStream class which suits better for transforming maps:
Map output = EntryStream.of(input).mapValues(Integer::valueOf).toMap();