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 MapLike | |
+= (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 MapLikeBase | |
+ |
Methods inherited from MapLike | |
get (abstract), iterator (abstract), isEmpty, getOrElse, apply, contains, isDefinedAt, keySet, keysIterator, keys, valuesIterable, valuesIterator, values, default, filterKeys, mapValues, mapElements, +, ++, ++, addString, stringPrefix, toString, hashCode, equals |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from Iterable | |
companion |
Methods inherited from IterableLike | |
thisCollection, toCollection, elements, foreach, forall, exists, find, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, view, view, first, firstOption, projection |
Methods inherited from GenericTraversableTemplate | |
genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableLike | |
repr, nonEmpty, size, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toSeq, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, withFilter |
Methods inherited from AnyRef | |
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
Scala Library
|
|