Class

scala.jdk.OptionConverters

RichOptionalInt

Related Doc: package OptionConverters

Permalink

implicit final class RichOptionalInt extends AnyVal

Provides conversions from OptionalInt to Scala Option and the generic Optional

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichOptionalInt
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichOptionalInt(o: OptionalInt)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. def toJavaGeneric: Optional[Int]

    Permalink

    Convert a Java OptionalInt to a generic Java Optional

  8. def toScala: Option[Int]

    Permalink

    Convert a Java OptionalInt to a Scala Option

  9. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def asScala: Option[Int]

    Permalink

    Convert a Java OptionalInt to a Scala Option

    Convert a Java OptionalInt to a Scala Option

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toScala instead

Inherited from AnyVal

Inherited from Any

Ungrouped