diff options
Diffstat (limited to 'src/main/kotlin/mcprepack/CSVFile.kt')
-rw-r--r-- | src/main/kotlin/mcprepack/CSVFile.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/mcprepack/CSVFile.kt b/src/main/kotlin/mcprepack/CSVFile.kt index 6463fc7..1ddc03f 100644 --- a/src/main/kotlin/mcprepack/CSVFile.kt +++ b/src/main/kotlin/mcprepack/CSVFile.kt @@ -2,4 +2,5 @@ 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"] } } |