t

breeze.generic

Multimethod

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. Protected

Abstract Value Members

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

Concrete 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: A): R
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindingMissing(a: A): R
    Attributes
    protected
  7. val cache: ConcurrentHashMap[Class[_], Method]
    Attributes
    protected
    Definition Classes
    MMRegistry1
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def multipleOptions(a: A, m: Map[Class[_], Method]): Nothing
    Attributes
    protected
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. val ops: HashMap[Class[_], Method]
    Attributes
    protected
    Definition Classes
    MMRegistry1
  19. def register[AA <: A](op: Method)(implicit manA: Manifest[AA]): Unit
  20. def register(a: Class[_], op: Method): Unit
    Definition Classes
    MMRegistry1
  21. def resolve(a: Class[_], checkedA: Set[Class[_]] = Set.empty): Map[Class[_], Method]
    Attributes
    protected
    Definition Classes
    MMRegistry1
  22. def selectBestOption(options: Map[Class[_], Method]): Map[Class[_], Method]

    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
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from MMRegistry1[Method]

Inherited from AnyRef

Inherited from Any

Ungrouped