Converts the elements of a nested collection one level deeper

All 2 scenarios hold

The element type is itself a collection, so its own element type decides what the innermost values become — Short in this table.

expected outcome broken scenario
ScenarioList inputSet inputMap inputElement type?Innermost elements?
A list of lists
    • 6
    • 7
    • 6
    • 7
a
  • 6
  • 7
java.util.List
  • 6
  • 7
Several nested lists
    • 6
    • 7
    • 6
    • 7
a
  • 6
b
  • 7
java.util.List
  • 6
  • 7