Package akka.compat

Class PartialFunction$


  • public class PartialFunction$
    extends java.lang.Object
    INTERNAL API

    Compatibility wrapper for scala.PartialFunction to be able to compile the same code against Scala 2.12, 2.13, 3.0

    Remove these classes as soon as support for Scala 2.12 is dropped!

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static PartialFunction$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <A,​B>
      scala.PartialFunction<A,​B>
      fromFunction​(scala.Function1<A,​B> f)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final PartialFunction$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • PartialFunction$

        public PartialFunction$()
    • Method Detail

      • fromFunction

        public <A,​B> scala.PartialFunction<A,​B> fromFunction​(scala.Function1<A,​B> f)