FunctionConverters

scala.jdk.javaapi.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.

Attributes

Source
FunctionConverters.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

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

Attributes

Source
FunctionConverters.scala
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.

Attributes

Source
FunctionConverters.scala
def asJavaBinaryOperator[T](sf: (T, T) => T): BinaryOperator[T]

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asJavaDoubleConsumer(sf: Double => BoxedUnit): DoubleConsumer

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

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asJavaSupplier[T](sf: () => T): Supplier[T]

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asJavaUnaryOperator[T](sf: T => T): UnaryOperator[T]

Attributes

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.

Attributes

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

Attributes

Source
FunctionConverters.scala
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.

Attributes

Source
FunctionConverters.scala
def asScalaFromBinaryOperator[T](jf: BinaryOperator[T]): (T, T) => T

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asScalaFromIntConsumer(jf: IntConsumer): 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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asScalaFromLongConsumer(jf: LongConsumer): 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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
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.

Attributes

Source
FunctionConverters.scala
def asScalaFromSupplier[T](jf: Supplier[T]): () => T

Attributes

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

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

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source
FunctionConverters.scala
def asScalaFromUnaryOperator[T](jf: UnaryOperator[T]): T => T

Attributes

Source
FunctionConverters.scala