← Docs
kotlin-stdlib / kotlin.sequences / java.util.Enumeration

Extensions for java.util.Enumeration

JVM
1.0

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 >
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .