W3cubDocs

/Kotlin

iterator

operator fun <T> Enumeration<T>.iterator(): Iterator<T>

Platform and version requirements: JVM

Creates an Iterator for an Enumeration, allowing to use it in for loops.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/java.util.-enumeration/iterator.html