W3cubDocs

/Kotlin

iterator

fun iterator(): Iterator<File>

Overrides Sequence.iterator

Platform and version requirements: JVM

Returns an iterator walking through files.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-tree-walk/iterator.html