Extensions for java.util.Enumeration
asSequence
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>
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
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>