class
TypedMultiMap[T <: AnyRef, K[_ <: T]] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
def
->[B](y: B): (TypedMultiMap[T, K], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(other: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
def
get(key: T): Set[K[key.type]]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
inserted(key: T)(value: K[key.type]): TypedMultiMap[T, K]
-
final
def
isInstanceOf[T0]: Boolean
-
def
keyRemoved(key: T): TypedMultiMap[T, K]
-
def
keySet: Set[T]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
removed(key: T)(value: K[key.type]): TypedMultiMap[T, K]
-
def
setAll(key: T)(values: Set[K[key.type]]): TypedMultiMap[T, K]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
valueRemoved(value: Any): TypedMultiMap[T, K]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (TypedMultiMap[T, K], B)
Inherited from AnyRef
Inherited from Any
An immutable multi-map that expresses the value type as a type function of the key type. Create it with a type constructor that expresses the relationship:
Caveat: using keys which take type parameters does not work due to conflicts with the existential interpretation of
Key[_]
. A workaround is to define a key type like above and provide a subtype that provides its type parameter as type memberType
.