class
FuncJBridge extends AnyRef
Instance Constructors
-
new
FuncJBridge()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
implicit
def
drop[Z](f: () ⇒ Z): Func0[Z]
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
implicit
def
lift[Z](f: Callable[Z]): () ⇒ Z
-
implicit
def
lift[A, B, C, D, Z](f: Func4[A, B, C, D, Z]): (A, B, C, D) ⇒ Z
-
implicit
def
lift[A, B, C, Z](f: Func3[A, B, C, Z]): (A, B, C) ⇒ Z
-
implicit
def
lift[A, B, Z](f: Func2[A, B, Z]): (A, B) ⇒ Z
-
implicit
def
lift[A, Z](f: Func1[A, Z]): (A) ⇒ Z
-
implicit
def
lift[Z](f: Func0[Z]): () ⇒ Z
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Bridges from Java functions to Scala functions.
The implicits defined here allow Scala code to interact seamlessly between the Java function-like interfaces and the Scala function interfaces for various function arities.
In particular, there is a pair of implicits for each arity of function from 0 to 4. There is one implicit (called
lift) from the Java function type to the corresponding Scala function type and one (calleddrop) from the Scala function type to the corresponding Java function type.