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
|
addBinding (key : A, value : B) : MultiMap[A, B] |
def
|
entryExists (key : A, p : (B) => Boolean) : Boolean |
protected def
|
makeSet : Set[B] |
def
|
removeBinding (key : A, value : B) : MultiMap[A, B] |
Methods inherited from Map | |
empty |
Methods inherited from Unhashable | |
hashCode, identityHashCode |
Methods inherited from MutableMapTemplate | |
+= (abstract), -= (abstract), newBuilder, put, update, updated, cached, +, +, ++, ++, remove, -, removeKey, clear, getOrElseUpdate, transform, retain, clone, result, -, --, -- |
Methods inherited from Shrinkable | |
-=, --=, --= |
Methods inherited from Builder | |
sizeHint, mapResult |
Methods inherited from Growable | |
+=, ++=, ++= |
Methods inherited from MutableMapTemplateBase | |
+ |
Methods inherited from MapTemplate | |
get (abstract), iterator (abstract), isEmpty, getOrElse, apply, contains, isDefinedAt, keySet, keysIterator, keys, valueIterable, valuesIterator, values, default, filterKeys, mapValues, mapElements, +, ++, ++, addString, equals, stringPrefix, toString |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from Iterable | |
companion |
Methods inherited from IterableTemplate | |
elements, foreach, foldRight, reduceRight, toIterable, head, takeRight, dropRight, sameElements, toStream, view, view, first, firstOption, toSeq, projection |
Methods inherited from TraversableClass | |
genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableTemplate | |
thisCollection, nonEmpty, size, hasDefiniteSize, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, tail, last, lastOption, init, take, drop, slice, takeWhile, dropWhile, span, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSequence, toSet, mkString, mkString, mkString, addString, addString |
Methods inherited from AnyRef | |
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
Scala Library
|
|