Groovy - Shortcut for creating a Map from a List in groovy Code Example

The code for Shortcut for creating a Map from a List in groovy

Map rowToMap(row) {
    row.columns.collectEntries{[it.name, it.val]}
}
Code by IncludeHelp, on August 9, 2022 15:09

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.