@implicitNotFound("No specialized Optional type exists for elements of type ${A}") sealed abstract class OptionShape[A, O]
A type class implementing conversions from a generic Scala Option
or Java Optional
to
a specialized Java variant (for Double
, Int
and Long
).
A type class implementing conversions from a generic Scala Option
or Java Optional
to
a specialized Java variant (for Double
, Int
and Long
).
- Type Params
- A
the primitive type wrapped in an option
- O
the specialized Java
Optional
wrapping an element of typeA
- Companion
- object