MMRegistry1

trait MMRegistry1[M]
class Object
trait Matchable
class Any
trait Multimethod[Method, A, R]

Value members

Concrete methods

def register(a: Class[_], op: M): Unit
protected def resolve(a: Class[_], checkedA: Set[Class[_]]): Map[Class[_], M]
protected def selectBestOption(options: Map[Class[_], M]): Map[Class[_], M]

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

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

Concrete fields

protected val cache: ConcurrentHashMap[Class[_], M]
protected val ops: HashMap[Class[_], M]