Trait

breeze.generic

Multimethod

Related Doc: package generic

Permalink

trait Multimethod[Method, A <: AnyRef, R] extends MMRegistry1[Method]

A Multimethod is basically a glorified registry that uses dynamic reflection (and subtyping) to determine which version of the method to invoke.

Self Type
Multimethod[Method, A, R] with Method
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Multimethod
  2. MMRegistry1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def doMethod(m: Method, a: A): R

    Permalink
    Attributes
    protected

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(a: A): R

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bindingMissing(a: A): R

    Permalink
    Attributes
    protected
  7. val cache: ConcurrentHashMap[Class[_], Method]

    Permalink
    Attributes
    protected
    Definition Classes
    MMRegistry1
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def multipleOptions(a: A, m: Map[Class[_], Method]): Nothing

    Permalink
    Attributes
    protected
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val ops: HashMap[Class[_], Method]

    Permalink
    Attributes
    protected
    Definition Classes
    MMRegistry1
  20. def register[AA <: A](op: Method)(implicit manA: Manifest[AA]): Unit

    Permalink
  21. def register(a: Class[_], op: Method): Unit

    Permalink
    Definition Classes
    MMRegistry1
  22. def resolve(a: Class[_], checkedA: Set[Class[_]] = Set.empty): Map[Class[_], Method]

    Permalink
    Attributes
    protected
    Definition Classes
    MMRegistry1
  23. def selectBestOption(options: Map[Class[_], Method]): Map[Class[_], Method]

    Permalink

    This selects based on the partial order induced by the inheritance hierarchy.

    This selects based on the partial order induced by the inheritance hierarchy. If there is ambiguity, all are returned.

    Attributes
    protected
    Definition Classes
    MMRegistry1
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MMRegistry1[Method]

Inherited from AnyRef

Inherited from Any

Ungrouped