Creates a sequence that returns all values from this enumeration. The sequence is constrained to be iterated only once.
fun <T> Enumeration<T>.asSequence(): Sequence<T>
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/java.util.-enumeration/index.html