Converts the values of a nested map one level deeper

All 2 scenarios hold

The nested map's declared value type is Long in this table.

expected outcome broken scenario
ScenarioList inputSet inputMap inputElement type?Innermost values?
A list of maps
  • x
    6
    y
    7
  • x
    6
    y
    7
a
x
6
y
7
java.util.Map
  • 6
  • 7
Several nested maps
  • x
    6
  • y
    7
  • x
    6
  • y
    7
a
x
6
b
y
7
java.util.Map
  • 6
  • 7