On this page
Class OptionConverters.RichOption
Provides conversions from Scala Option
to Java Optional
types
Supertypes |
---|
Concrete methods
Source
Convert a Scala Option
to a generic Java Optional
Source
def toJavaPrimitive[O](implicit shape: OptionShape[A, O]): O
Convert a Scala Option
to a specialized Java Optional
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/jdk/OptionConverters$$RichOption.html