Scala Standard Library 2.13.15 - scala.PartialFunction (original) (raw)

trait PartialFunction[-A, +B] extends (A) => B

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. PartialFunction
  2. Function1
  3. AnyRef
  4. Any

Implicitly

  1. by UnliftOps

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(v1: A): B
  2. abstract def isDefinedAt(x: A): Boolean

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (PartialFunction[A, B], B)
  5. final def ==(arg0: Any): Boolean
  6. def andThen[C](k: PartialFunction[B, C]): PartialFunction[A, C]
  7. def andThen[C](k: (B) => C): PartialFunction[A, C]
  8. def applyOrElse[A1 <: A, B1 >: B](x: A1, default: (A1) => B1): B1
  9. final def asInstanceOf[T0]: T0
  10. def clone(): AnyRef
  11. def compose[R](k: PartialFunction[R, A]): PartialFunction[R, B]
  12. def compose[A](g: (A) => A): (A) => B
  13. def elementWise: ElementWiseExtractor[A, B]
  14. def ensuring(cond: (PartialFunction[A, B]) => Boolean, msg: => Any): PartialFunction[A, B]
  15. def ensuring(cond: (PartialFunction[A, B]) => Boolean): PartialFunction[A, B]
  16. def ensuring(cond: Boolean, msg: => Any): PartialFunction[A, B]
  17. def ensuring(cond: Boolean): PartialFunction[A, B]
  18. final def eq(arg0: AnyRef): Boolean
  19. def equals(arg0: AnyRef): Boolean
  20. def finalize(): Unit
  21. final def getClass(): Class[_ <: AnyRef]
  22. def hashCode(): Int
  23. final def isInstanceOf[T0]: Boolean
  24. def lift: (A) => Option[B]
  25. final def ne(arg0: AnyRef): Boolean
  26. final def notify(): Unit
  27. final def notifyAll(): Unit
  28. def orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
  29. def runWith[U](action: (B) => U): (A) => Boolean
  30. final def synchronized[T0](arg0: => T0): T0
  31. def toString(): String
  32. def unapply(a: A): Option[B]
  33. def unlift: PartialFunction[A, B]
  34. final def wait(): Unit
  35. final def wait(arg0: Long, arg1: Int): Unit
  36. final def wait(arg0: Long): Unit

Inherited from (A) => B

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion UnliftOps fromPartialFunction[A, B] to UnliftOps[A, B]

Inherited by implicit conversion any2stringadd fromPartialFunction[A, B] to any2stringadd[PartialFunction[A, B]]

Inherited by implicit conversion StringFormat fromPartialFunction[A, B] to StringFormat[PartialFunction[A, B]]

Inherited by implicit conversion Ensuring fromPartialFunction[A, B] to Ensuring[PartialFunction[A, B]]

Inherited by implicit conversion ArrowAssoc fromPartialFunction[A, B] to ArrowAssoc[PartialFunction[A, B]]

Ungrouped