Dotty Documentation

0.11.0-bin-SNAPSHOT

abstract class SimpleIdentityMap [ K, +V ]
extends Object with Function1

A simple linked map with eq as the key comparison, optimized for small maps. It has linear complexity for apply, updated, and remove.

[-] Constructors

SimpleIdentityMap ( )

[-] Members

[+] def apply ( k: K ) : V
[+] def contains ( k: K ) : Boolean
[+] def foreachBinding ( f: (K, V) => Unit ) : Unit
[+] def keys : List [ K ]
[+] def map2 ( f: (K, V) => T ) : List [ T ]
[+] def mapValuesNow ( f: (K, V1) => V1 ) : SimpleIdentityMap [ K, V1 ]
[+] def remove ( k: K ) : SimpleIdentityMap [ K, V ]
[+] def size : Int
[+] def toList : List [ ( K, V ) ]
[+] override def toString : String
[+] def updated ( k: K , v: V1 ) : SimpleIdentityMap [ K, V1 ]