Home »
Code Examples »
Groovy Code Examples
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