Class/Object

com.avsystem.commons.SharedExtensions

PartialFunctionOps

Related Docs: object PartialFunctionOps | package SharedExtensions

Permalink

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])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def applyNOpt(a: A): commons.NOpt[B]

    Permalink
  5. def applyOpt(a: A): commons.Opt[B]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any
  10. def unless(pre: PartialFunction[A, B]): PartialFunction[A, B]

    Permalink

    The same thing as scala.PartialFunction.orElse but with arguments flipped.

    The same thing as scala.PartialFunction.orElse but with arguments flipped. Useful in situations where scala.PartialFunction.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