Package akka.testkit
Class CachingPartialFunction<A,B>
- java.lang.Object
-
- scala.runtime.AbstractPartialFunction<A,B>
-
- akka.testkit.CachingPartialFunction<A,B>
-
- All Implemented Interfaces:
scala.Function1<A,B>
,scala.PartialFunction<A,B>
public abstract class CachingPartialFunction<A,B> extends scala.runtime.AbstractPartialFunction<A,B>
Deprecated.The only usage is in JavaTestKit which is deprecated. Since 2.5.0.INTERNAL APIThis is a specialized variant of PartialFunction which is only applicable if you know that
isDefinedAt(x)
is always called beforeapply(x)
—with the samex
of course.match(x)
will be called forisDefinedAt(x)
only, and its semantics are the same as forJavaPartialFunction
(apart from the missing because unneeded boolean argument).This class is used internal to JavaTestKit and should not be extended by client code directly.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface scala.PartialFunction
scala.PartialFunction.AndThen<A extends java.lang.Object,B extends java.lang.Object,C extends java.lang.Object>, scala.PartialFunction.Lifted<A extends java.lang.Object,B extends java.lang.Object>, scala.PartialFunction.OrElse<A extends java.lang.Object,B extends java.lang.Object>, scala.PartialFunction.Unlifted<A extends java.lang.Object,B extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description CachingPartialFunction()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description B
apply(A x)
Deprecated.B
cache()
Deprecated.void
cache_$eq(B x$1)
Deprecated.boolean
isDefinedAt(A x)
Deprecated.abstract B
match(A x)
Deprecated.-
Methods inherited from class scala.runtime.AbstractPartialFunction
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, applyOrElse, compose, lift, orElse, runWith, toString
-
-