Package akka.util
Class ConstantFun
- java.lang.Object
-
- akka.util.ConstantFun
-
public class ConstantFun extends java.lang.Object
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ConstantFun()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static scala.Function1<java.lang.Object,java.lang.Object>
anyToFalse()
static scala.Function1<java.lang.Object,java.lang.Object>
anyToTrue()
static <A,B>
scala.Function1<A,scala.Option<B>>javaAnyToNone()
static <A,B>
Function2<A,B,Pair<A,B>>javaCreatePairFunction()
static <T> Function<T,T>
javaIdentityFunction()
static java.lang.Object
JavaPairFunction()
static <T> scala.Function1<java.lang.Object,T>
nullFun()
static scala.Function1<java.lang.Object,java.lang.Object>
oneInt()
static scala.Function1<java.lang.Object,java.lang.Object>
oneLong()
static <A,B,C>
scala.Function3<A,B,C,java.lang.Object>scalaAnyThreeToFalse()
static <A,B,C>
scala.Function3<A,B,C,C>scalaAnyThreeToThird()
static <A,B,C>
scala.Function3<A,B,C,scala.runtime.BoxedUnit>scalaAnyThreeToUnit()
static <A,B>
scala.Function1<A,scala.Option<B>>scalaAnyToNone()
static <A> scala.Function1<A,scala.runtime.BoxedUnit>
scalaAnyToUnit()
static <A,B,C>
scala.Function2<A,B,scala.Option<C>>scalaAnyTwoToNone()
static <A,B>
scala.Function2<A,B,java.lang.Object>scalaAnyTwoToTrue()
static <A,B>
scala.Function2<A,B,scala.runtime.BoxedUnit>scalaAnyTwoToUnit()
static <T> scala.Function1<T,T>
scalaIdentityFunction()
static scala.Function0<scala.runtime.BoxedUnit>
unitToUnit()
static scala.Function1<java.lang.Object,java.lang.Object>
zeroLong()
-
-
-
Method Detail
-
JavaPairFunction
public static java.lang.Object JavaPairFunction()
-
javaIdentityFunction
public static <T> Function<T,T> javaIdentityFunction()
-
scalaIdentityFunction
public static <T> scala.Function1<T,T> scalaIdentityFunction()
-
scalaAnyToNone
public static <A,B> scala.Function1<A,scala.Option<B>> scalaAnyToNone()
-
scalaAnyToUnit
public static <A> scala.Function1<A,scala.runtime.BoxedUnit> scalaAnyToUnit()
-
scalaAnyTwoToNone
public static <A,B,C> scala.Function2<A,B,scala.Option<C>> scalaAnyTwoToNone()
-
scalaAnyTwoToUnit
public static <A,B> scala.Function2<A,B,scala.runtime.BoxedUnit> scalaAnyTwoToUnit()
-
scalaAnyThreeToUnit
public static <A,B,C> scala.Function3<A,B,C,scala.runtime.BoxedUnit> scalaAnyThreeToUnit()
-
scalaAnyTwoToTrue
public static <A,B> scala.Function2<A,B,java.lang.Object> scalaAnyTwoToTrue()
-
scalaAnyThreeToFalse
public static <A,B,C> scala.Function3<A,B,C,java.lang.Object> scalaAnyThreeToFalse()
-
scalaAnyThreeToThird
public static <A,B,C> scala.Function3<A,B,C,C> scalaAnyThreeToThird()
-
javaAnyToNone
public static <A,B> scala.Function1<A,scala.Option<B>> javaAnyToNone()
-
nullFun
public static <T> scala.Function1<java.lang.Object,T> nullFun()
-
zeroLong
public static scala.Function1<java.lang.Object,java.lang.Object> zeroLong()
-
oneLong
public static scala.Function1<java.lang.Object,java.lang.Object> oneLong()
-
oneInt
public static scala.Function1<java.lang.Object,java.lang.Object> oneInt()
-
unitToUnit
public static scala.Function0<scala.runtime.BoxedUnit> unitToUnit()
-
anyToTrue
public static scala.Function1<java.lang.Object,java.lang.Object> anyToTrue()
-
anyToFalse
public static scala.Function1<java.lang.Object,java.lang.Object> anyToFalse()
-
-