Update API usage

This commit is contained in:
世界 committed 2023-08-24 23:40:46 +08:00
1 parent 1d578acb74
commit 065c62118e
4 files changed
+95 -35

No files matched your search

@@ -0,0 +1,11 @@
package io.nekohasekai.sfa.ktx
import io.nekohasekai.libbox.StringIterator
fun StringIterator.toList(): List<String> {
return mutableListOf<String>().apply {
while (hasNext()) {
add(next())
}
}
}