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
MMRegistry1[Method], AnyRef, Any
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
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. val ops: HashMap[Class[_], Method]

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    MMRegistry1
  22. 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
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from MMRegistry1[Method]

Inherited from AnyRef

Inherited from Any

Ungrouped