Packages

c

akka.japi.pf

UnitMatch

class UnitMatch[I] extends AbstractMatch[I, BoxedUnit]

Version of scala.PartialFunction that can be built during runtime from Java. This is a specialized version of UnitMatch to map java void methods to scala.runtime.BoxedUnit.

Source
UnitMatch.java
Linear Supertypes
AbstractMatch[I, BoxedUnit], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnitMatch
  2. AbstractMatch
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def asPF(): PartialFunction[I, BoxedUnit]

    Turn this Match into a scala.PartialFunction.

    Turn this Match into a scala.PartialFunction.

    returns

    a partial function representation ot his Match

    Definition Classes
    AbstractMatch
  2. def match(i: I): Unit

    Convenience function to make the Java code more readable.

    Convenience function to make the Java code more readable.

    
      UnitMatcher<X> matcher = UnitMatcher.create(...);
    
      matcher.match(obj);
    
    

    i

    the argument to apply the match to

    Exceptions thrown

    scala.MatchError if there is no match