RichOptionalInt

final implicit implicit class RichOptionalInt(o: OptionalInt) extends AnyVal

Provides conversions from OptionalInt to Scala Option and the generic Optional

Source:
OptionConverters.scala
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Convert a Java OptionalInt to a generic Java Optional

Convert a Java OptionalInt to a generic Java Optional

Source:
OptionConverters.scala

Convert a Java OptionalInt to a Scala Option

Convert a Java OptionalInt to a Scala Option

Source:
OptionConverters.scala

Deprecated methods

@deprecated("Use `toScala` instead", "2.13.0")

Convert a Java OptionalInt to a Scala Option

Convert a Java OptionalInt to a Scala Option

Deprecated
Source:
OptionConverters.scala