Generated with
Copyright (c) 2002-2026, LAMP/EPFL
Copyright (c) 2002-2026, LAMP/EPFL
scala.jdk.OptionShape
See theOptionShape companion object
A type class implementing conversions from a generic Scala Option or Java Optional to a specialized Java variant (for Double, Int and Long).
Type parameters
- A
-
the primitive type wrapped in an option
- O
-
the specialized Java Optional wrapping an element of type A
Attributes
- Companion
-
object
- Source
-
OptionShape.scala
- Graph
-
- Supertypes
-
Members list
Converts from Optional to the specialized variant O.
Converts from Optional to the specialized variant O.
Value parameters
- o
-
the generic Optional to convert to the specialized variant
Attributes
- Source
-
OptionShape.scala
Converts from Option to the specialized variant O.
Converts from Option to the specialized variant O.
Value parameters
- o
-
the Scala Option to convert to the specialized Java variant
Attributes
- Source
-
OptionShape.scala