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!

    • Constructor Summary

      Constructors 
      Constructor Description
      PartialFunction()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <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
    • Constructor Detail

      • PartialFunction

        public PartialFunction()
    • Method Detail

      • fromFunction

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