Map4

dotty.tools.dotc.util.SimpleIdentityMap.Map4
class Map4[K <: AnyRef, +V <: AnyRef](k1: K, v1: V, k2: K, v2: V, k3: K, v3: V, k4: K, v4: V) extends SimpleIdentityMap[K, V]

Attributes

Graph
Supertypes
class SimpleIdentityMap[K, V]
trait K => V | Null
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(k: K): V | Null
def forallBinding(f: (K, V) => Boolean): Boolean
def foreachBinding(f: (K, V) => Unit): Unit
def mapValuesNow[V1 >: V <: AnyRef](f: (K, V1) => V1): SimpleIdentityMap[K, V1]
def remove(k: K): SimpleIdentityMap[K, V]
def size: Int
def updated[V1 >: V <: AnyRef](k: K, v: V1): SimpleIdentityMap[K, V1]

Inherited methods

def andThen[A](g: (V | Null) => A): K => A

Attributes

Inherited from:
Function1
def compose[A](g: A => K): A => V | Null

Attributes

Inherited from:
Function1
def contains(k: K): Boolean

Attributes

Inherited from:
SimpleIdentityMap
final def isEmpty: Boolean

Attributes

Inherited from:
SimpleIdentityMap
def keys: List[K]

Attributes

Inherited from:
SimpleIdentityMap
def map2[T](f: (K, V) => T): List[T]

Attributes

Inherited from:
SimpleIdentityMap
def toList: List[(K, V)]

Attributes

Inherited from:
SimpleIdentityMap
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
SimpleIdentityMap