FunctionConverters

This object contains methods that convert between Scala and Java function 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.FunctionConverters.

For details how the function converters work, see scala.jdk.FunctionConverters.

Source:
FunctionConverters.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def asJavaBiConsumer[T, U](sf: (T, U) => BoxedUnit): BiConsumer[T, U]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaBiFunction[T, U, R](sf: (T, U) => R): BiFunction[T, U, R]
def asJavaBiPredicate[T, U](sf: (T, U) => Boolean): BiPredicate[T, U]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaConsumer[T](sf: T => BoxedUnit): Consumer[T]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaFunction[T, R](sf: T => R): Function[T, R]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaIntConsumer(sf: Integer => BoxedUnit): IntConsumer

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaLongConsumer(sf: Long => BoxedUnit): LongConsumer

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaLongFunction[R](sf: Long => R): LongFunction[R]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaObjDoubleConsumer[T](sf: (T, Double) => BoxedUnit): ObjDoubleConsumer[T]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaObjIntConsumer[T](sf: (T, Integer) => BoxedUnit): ObjIntConsumer[T]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaObjLongConsumer[T](sf: (T, Long) => BoxedUnit): ObjLongConsumer[T]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaPredicate[T](sf: T => Boolean): Predicate[T]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaToDoubleBiFunction[T, U](sf: (T, U) => Double): ToDoubleBiFunction[T, U]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaToIntBiFunction[T, U](sf: (T, U) => Integer): ToIntBiFunction[T, U]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asJavaToLongBiFunction[T, U](sf: (T, U) => Long): ToLongBiFunction[T, U]

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromBiConsumer[T, U](jf: BiConsumer[T, U]): (T, U) => BoxedUnit

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromBiFunction[T, U, R](jf: BiFunction[T, U, R]): (T, U) => R
def asScalaFromBiPredicate[T, U](jf: BiPredicate[T, U]): (T, U) => Boolean

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromConsumer[T](jf: Consumer[T]): T => BoxedUnit

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromObjDoubleConsumer[T](jf: ObjDoubleConsumer[T]): (T, Double) => BoxedUnit

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromObjIntConsumer[T](jf: ObjIntConsumer[T]): (T, Integer) => BoxedUnit

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromObjLongConsumer[T](jf: ObjLongConsumer[T]): (T, Long) => BoxedUnit

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromToIntBiFunction[T, U](jf: ToIntBiFunction[T, U]): (T, U) => Integer

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala
def asScalaFromToLongBiFunction[T, U](jf: ToLongBiFunction[T, U]): (T, U) => Long

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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).

Note: this method uses the boxed type java.lang.X (or BoxedUnit) 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.FunctionConverters._ and use the extension methods instead.

Source:
FunctionConverters.scala