DelegatingPMap

sbt.internal.util.DelegatingPMap
class DelegatingPMap[K[_], V[_]](backing: Map[K[Any], V[Any]]) extends AbstractRMap[K, V], PMap[K, V]

Only suitable for K that is invariant in its type parameter. Option and List keys are not suitable, for example, because None <:< Option[String] and None <: Option[Int].

Attributes

Graph
Supertypes
trait PMap[K, V]
class AbstractRMap[K, V]
trait RMap[K, V]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

sealed case class TPair[T](key: K[T], value: V[T])

Attributes

Inherited from:
RMap
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def get[T](k: K[T]): Option[V[T]]
def getOrUpdate[T](k: K[T], make: => V[T]): V[T]
def isEmpty: Boolean
def keys: Iterable[K[Any]]
def mapValue[T](k: K[T], init: V[T], f: V[T] => V[T]): V[T]
def remove[T](k: K[T]): Option[V[T]]
def toSeq: Seq[(K[Any], V[Any])]
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
Any
def update[T](k: K[T], v: V[T]): Unit
def values: Iterable[V[Any]]

Inherited methods

def apply[T](k: K[T]): V[T]

Attributes

Inherited from:
AbstractRMap
def contains[T](k: K[T]): Boolean

Attributes

Inherited from:
AbstractRMap
def toTypedSeq: Seq[TPair[_]]

Attributes

Inherited from:
RMap