TreeMap

scala.collection.immutable.TreeMap
See theTreeMap companion class
object TreeMap extends SortedMapFactory[TreeMap]

This object provides a set of operations to create Iterable values.

Attributes

Companion
class
Source
TreeMap.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type
TreeMap.type

Members list

Value members

Concrete methods

def empty[K : Ordering, V]: TreeMap[K, V]

Attributes

Source
TreeMap.scala
def from[K, V](it: IterableOnce[(K, V)])(implicit ordering: Ordering[K]): TreeMap[K, V]

Attributes

Source
TreeMap.scala
def newBuilder[K, V](implicit ordering: Ordering[K]): ReusableBuilder[(K, V), TreeMap[K, V]]

Attributes

Source
TreeMap.scala

Inherited methods

def apply[K : Ordering, V](elems: (K, V)*): TreeMap[K, V]

Attributes

Inherited from:
SortedMapFactory
Source
Factory.scala

Implicits

Inherited implicits

implicit def sortedMapFactory[K : Ordering, V]: Factory[(K, V), TreeMap[K, V]]

Attributes

Inherited from:
SortedMapFactory
Source
Factory.scala