W3cubDocs

/Kotlin

toList

inline fun <T> Enumeration<T>.toList(): List<T>

Platform and version requirements: JVM

Returns a list containing the elements returned by this enumeration in the order they are returned by the enumeration.

© 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/to-list.html