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

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[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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def multipleOptions(a: A, m: Map[Class[_], Method]): Nothing
    Attributes
    protected
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. val ops: HashMap[Class[_], Method]
    Attributes
    protected
    Definition Classes
    MMRegistry1
  20. def register[AA <: A](op: Method)(implicit manA: Manifest[AA]): Unit
  21. def register(a: Class[_], op: Method): Unit
    Definition Classes
    MMRegistry1
  22. def resolve(a: Class[_], checkedA: Set[Class[_]] = Set.empty): Map[Class[_], Method]
    Attributes
    protected
    Definition Classes
    MMRegistry1
  23. 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
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MMRegistry1[Method]

Inherited from AnyRef

Inherited from Any

Ungrouped