Creates an Iterator for an java.util.Enumeration, allowing to use it in for
loops.
operator fun <T> Enumeration<T>.iterator(): Iterator<T>
Returns a list containing the elements returned by this enumeration in the order they are returned by the enumeration.
fun <T> Enumeration<T>.toList(): List<T>
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/java.util.-enumeration/index.html