TreeMultiMap
The TreeMultiMap class provides tree maps that use the Red-Black Tree algorithm. It build on TreeMap allowing values to multi-valued Set [V] and can be used for building Non-Unique Indices.
Type parameters
- K
-
the type of the keys contained in this tree map
- V
-
the base-type of the values assigned to keys in this tree map
Value parameters
- ord
-
the implicit ordering used to compare objects of type K
Attributes
- See also
-
scala.collection.mutable.TreeMap
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Add one key-value pair into this tree map and return this (called by put). The addOne method adds a set of values, whereas addOne1 adds a single value.
Add one key-value pair into this tree map and return this (called by put). The addOne method adds a set of values, whereas addOne1 adds a single value.
Value parameters
- elem
-
the key-value pair to add/insert for an individual value
Attributes
Show/print this TreeMap.
Show/print this TreeMap.
Attributes
Concrete fields
Implicits
Implicits
Exports
Defined exports
Deprecated defined exports
Attributes
- Deprecated
-
[Since version 2.13.0]Use ++ with an explicit collection argument instead of + with varargs
Attributes
- Deprecated
-
[Since version 2.13.0]Consider requiring an immutable Map or fall back to Map.concat
Attributes
- Deprecated
-
[Since version 2.13.0]Use ++ instead of ++: for collections of type Iterable
Attributes
- Deprecated
-
[Since version 2.13.0]Use ++ instead of ++: for collections of type Iterable
Attributes
- Deprecated
-
[Since version 2.13.0]Use iterableFactory instead
Attributes
- Deprecated
-
[Since version 2.13.0]Use `dest ++= coll` instead
Attributes
- Deprecated
-
[Since version 2.13.0]Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Attributes
- Deprecated
-
[Since version 2.13.0]Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).
Attributes
- Deprecated
-
[Since version 2.13.0]Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Attributes
- Deprecated
-
[Since version 2.13.0]Iterable.seq always returns the iterable itself
Attributes
- Deprecated
-
[Since version 2.13.7]toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Attributes
- Deprecated
-
[Since version 2.13.0]Use .iterator instead of .toIterator
Attributes
- Deprecated
-
[Since version 2.13.0]Use .to(LazyList) instead of .toStream
Attributes
- Deprecated
-
[Since version 2.13.0]toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Attributes
- Deprecated
-
[Since version 2.13.0]Use m.clone().addOne((k,v)) instead of m.updated(k, v)