← Docs
kotlin-stdlib / kotlin.jvm.optionals

Package kotlin.jvm.optionals

Convenience extension functions for java.util.Optional to simplify Kotlin-Java interop.

Extensions for External Classes

JVM
JRE8
1.8

java.util.Optional

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 .