FunctionConverters

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

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.

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.

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.

def asJavaBinaryOperator[T](sf: (T, T) => T): BinaryOperator[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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

def asJavaIntFunction[R](sf: Integer => R): IntFunction[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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

def asJavaSupplier[T](sf: () => T): Supplier[T]
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.

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.

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.

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.

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.

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.

def asJavaUnaryOperator[T](sf: T => T): UnaryOperator[T]
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.

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.

def asScalaFromBinaryOperator[T](jf: BinaryOperator[T]): (T, T) => 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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

def asScalaFromFunction[T, R](jf: Function[T, R]): 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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

def asScalaFromPredicate[T](jf: Predicate[T]): T => 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.

def asScalaFromSupplier[T](jf: Supplier[T]): () => 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.

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.

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.

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.

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.

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.