Packages

sealed abstract class OptionShape[A, O] extends AnyRef

A type class implementing conversions from a generic Scala Option or Java Optional to a specialized Java variant (for Double, Int and Long).

A

the primitive type wrapped in an option

O

the specialized Java Optional wrapping an element of type A

Annotations
@implicitNotFound()
Source
OptionShape.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionShape
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def fromJava(o: Optional[A]): O

    Converts from Optional to the specialized variant O

  2. abstract def fromScala(o: Option[A]): O

    Converts from Option to the specialized variant O