final class PartialFunctionOps[A, B] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialFunctionOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartialFunctionOps(pf: PartialFunction[A, B])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def applyNOpt(a: A): commons.NOpt[B]
  5. def applyOpt(a: A): commons.Opt[B]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def fold[C](a: A)(forEmpty: (A) ⇒ C, forNonEmpty: (B) ⇒ C): C
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any
  11. def unless(pre: PartialFunction[A, B]): PartialFunction[A, B]

    The same thing as orElse but with arguments flipped.

    The same thing as orElse but with arguments flipped. Useful in situations where orElse would have to be called on a partial function literal, which does not work well with type inference.

Inherited from AnyVal

Inherited from Any

Ungrouped