Scala Library
|
|
scala/collection/mutable/MultiMap.scala
]
trait
MultiMap[A, B]
extends
Map[A, Set[B]]A
to Set[B]
objects into multi maps which map A
to
B
objects.Method Summary | |
def
|
add (key : A, value : B) : Unit |
def
|
entryExists (key : A, p : (B) => Boolean) : Boolean |
protected def
|
makeSet : Set[B] |
def
|
remove (key : A, value : B) : Unit |
Methods inherited from Map | |
update (abstract), -= (abstract), +=, +=, ++=, ++=, +, +, ++, ++, -=, --=, --=, -, removeKey, put, -, --, --, clear, getOrElseUpdate, transform, retain, <<, clone, readOnly, +=, incl, excl |
Methods inherited from Map | |
size (abstract), get (abstract), getOrElse, isEmpty, apply, contains, isDefinedAt, keys, keySet, values, equals, hashCode, toString, default, projection, filterKeys, mapElements, stringPrefix |
Methods inherited from Collection | |
toArray |
Methods inherited from Iterable | |
elements (abstract), concat, ++, map, flatMap, filter, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toSeq, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, hasDefiniteSize |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from AnyRef | |
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
Scala Library
|
|