Update API usage
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user