RichOptionalInt

scala.jdk.OptionConverters.RichOptionalInt
final implicit class RichOptionalInt(o: OptionalInt) extends AnyVal

Provides conversions from OptionalInt to Scala Option and the generic Optional.

Attributes

Source
OptionConverters.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Converts a Java OptionalInt to a generic Java Optional.

Converts a Java OptionalInt to a generic Java Optional.

Attributes

Source
OptionConverters.scala

Converts a Java OptionalInt to a Scala Option.

Converts a Java OptionalInt to a Scala Option.

Attributes

Source
OptionConverters.scala

Deprecated methods

Converts a Java OptionalInt to a Scala Option.

Converts a Java OptionalInt to a Scala Option.

Attributes

Deprecated
[Since version 2.13.0] Use `toScala` instead
Source
OptionConverters.scala