RichOptional
Provides conversions from Java Optional
to Scala Option
and specialized Optional
types
- Source:
- OptionConverters.scala
Value members
Concrete methods
Convert a generic Java Optional
to a specialized variant
Convert a generic Java Optional
to a specialized variant
- Source:
- OptionConverters.scala
Convert a Java Optional
to a Scala Option
Convert a Java Optional
to a Scala Option
- Source:
- OptionConverters.scala
Deprecated methods
@deprecated("Use `toScala` instead", "2.13.0")
Convert a Java Optional
to a Scala Option
Convert a Java Optional
to a Scala Option
- Deprecated
- Source:
- OptionConverters.scala