blob: 1ddc03f01d9797ce59535f99fe415d3bbd8169ea (
plain)
1
2
3
4
5
6
|
package mcprepack
data class CSVFile(val headers: List<String>, val entries: List<List<String>>) {
val map = entries.map { headers.zip(it).toMap() }
val indexedBySearge = map.associateBy { it["searge"] }
}
|