A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/jdk/javaapi/OptionConverters$.html below:

OptionConverters

scala.jdk.javaapi.OptionConverters

This object contains methods that convert between Scala Option and Java Optional types.

The explicit conversion methods defined here are intended to be used in Java code. For Scala code, it is recommended to use the extension methods defined in scala.jdk.OptionConverters.

Attributes
Source
OptionConverters.scala
Graph
Supertypes
Self type
Members list

Convert a Scala Option to a Java Optional

Convert a Scala Option[java.lang.Double] to a Java OptionalDouble

Convert a Scala Option[java.lang.Double] to a Java OptionalDouble

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

Convert a Scala Option[java.lang.Integer] to a Java OptionalInt

Convert a Scala Option[java.lang.Integer] to a Java OptionalInt

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

Convert a Scala Option[java.lang.Long] to a Java OptionalLong

Convert a Scala Option[java.lang.Long] to a Java OptionalLong

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

Convert a Java Optional to a Scala Option

Convert a Java OptionalDouble to a Scala Option[java.lang.Double]

Convert a Java OptionalDouble to a Scala Option[java.lang.Double]

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

Convert a Java OptionalInt to a Scala Option[java.lang.Integer]

Convert a Java OptionalInt to a Scala Option[java.lang.Integer]

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

Convert a Java OptionalLong to a Scala Option[java.lang.Long]

Convert a Java OptionalLong to a Scala Option[java.lang.Long]

Note: this method uses the boxed type java.lang.X instead of the primitive type scala.X to improve compatibility when using it in Java code (the Scala compiler emits C[Int] as C[Object] in bytecode due to scala/bug#4214). In Scala code, add import scala.jdk.OptionConverters._ and use the extension methods instead.

Attributes
Source
OptionConverters.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4