Packages

object NamedPF

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A, B](value: A, lst: Seq[PartialFunction[A, B]]): B

    Find the first PartialFunction in the specified sequence that is defined at the specified value, apply it to that value and return the result or throw a MatchError on failure to find such a function.

    Find the first PartialFunction in the specified sequence that is defined at the specified value, apply it to that value and return the result or throw a MatchError on failure to find such a function.

    value

    the value to use to test each PartialFunction

    lst

    the sequence to search for a PartialFunction defined at value

    returns

    the result of applying any such PartialFunction to the specified value.

    Exceptions thrown

    MatchError on failure to find such a PartialFunction

  5. def apply[A, B](name: String)(f: PartialFunction[A, B]): NamedPartialFunction[A, B]

    Curried constructor for NamedPF

  6. def applyBox[A, B](value: A, lst: Seq[PartialFunction[A, B]]): Box[B]

    Find the first PartialFunction in the specified sequence that is defined at the specified value, apply it to that value and return the result in a Full Box if found; return Empty otherwise

    Find the first PartialFunction in the specified sequence that is defined at the specified value, apply it to that value and return the result in a Full Box if found; return Empty otherwise

    value

    the value to use to test each PartialFunction

    lst

    the sequence to search for a PartialFunction defined at value

    returns

    a Full Box containing the result of applying the first PartialFunction which is defined at the specified value to that value, or Empty if no such PartialFunction is found

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def find[A, B](value: A, lst: Seq[PartialFunction[A, B]]): Box[PartialFunction[A, B]]

    Find the first partial function in the specified sequence that is defined at the given value.

    Find the first partial function in the specified sequence that is defined at the given value.

    value

    the value to use to test each PartialFunction

    lst

    the sequence to search for a PartialFunction defined at value

    returns

    a Full Box containing the PartialFunction if found, or Empty othewise.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def isDefinedAt[A, B](value: A, lst: Seq[PartialFunction[A, B]]): Boolean

    Determine whether any PartialFunction in the specified sequence is defined at the specified value.

    Determine whether any PartialFunction in the specified sequence is defined at the specified value.

    value

    the value to use to test each PartialFunction

    lst

    the sequence to search for a PartialFunction defined at value

    returns

    whether such a PartialFunction is found

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped