Packages

c

scala.jdk.OptionConverters

RichOptionalDouble

implicit final class RichOptionalDouble extends AnyVal

Provides conversions from OptionalDouble to Scala Option and the generic Optional

Source
OptionConverters.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichOptionalDouble
  2. AnyVal
  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

Instance Constructors

  1. new RichOptionalDouble(o: OptionalDouble)

Value Members

  1. def getClass(): Class[_ <: AnyVal]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

    Definition Classes
    AnyValAny
  2. def toJavaGeneric: Optional[Double]

    Convert a Java OptionalDouble to a generic Java Optional

  3. def toScala: Option[Double]

    Convert a Java OptionalDouble to a Scala Option

Deprecated Value Members

  1. def asScala: Option[Double]

    Convert a Java OptionalDouble to a Scala Option

    Convert a Java OptionalDouble to a Scala Option

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toScala instead