Showing content from https://www.scala-lang.org/api/2.13.2/scala/collection/immutable/Map.html below:
Scala Standard Library 2.13.2 - scala.collection.immutable.Map
trait Map[K, +V] extends Iterable[(K, V)] with collection.Map[K, V] with MapOps[K, V, Map, Map[K, V]] with MapFactoryDefaults[K, V, Map, Iterable]
î·î
Ordering
- Alphabetic
- By Inheritance
Inherited
- Map
- MapOps
- Map
- Equals
- MapFactoryDefaults
- MapOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
Implicitly
- by UnliftOps
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
Visibility
- Public
- Protected
Abstract Value Members
- î
abstract def get(key: K): Option[V]
- î
abstract def iterator: Iterator[(K, V)]
- î
abstract def removed(key: K): Map[K, V]
- î
abstract def updated[V1 >: V](key: K, value: V1): Map[K, V1]
Concrete Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##: Int
- î
def +[V1 >: V](kv: (K, V1)): Map[K, V1]
- î
def ++[V2 >: V](xs: IterableOnce[(K, V2)]): Map[K, V2]
- î
final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
- î
final def -(key: K): Map[K, V]
- î
final def --(keys: IterableOnce[K]): Map[K, V]
- î
def ->[B](y: B): (Map[K, V], B)
- î
final def ==(arg0: Any): Boolean
- î
def addString(sb: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
- î
final def addString(b: mutable.StringBuilder): mutable.StringBuilder
- î
final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
- î
def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
- î
def andThen[C](k: (V) => C): PartialFunction[K, C]
- î
def apply(key: K): V
- î
def applyOrElse[K1 <: K, V1 >: V](x: K1, default: (K1) => V1): V1
- î
final def asInstanceOf[T0]: T0
- î
def canEqual(that: Any): Boolean
- î
def className: String
- î
def clone(): AnyRef
- î
final def coll: Map.this.type
- î
def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): Map[K2, V2]
- î
def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
- î
def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
- î
def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
- î
def compose[A](g: (A) => K): (A) => V
- î
def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): Map[K, V2]
- î
def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
- î
def contains(key: K): Boolean
- î
def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
- î
def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
- î
def copyToArray[B >: (K, V)](xs: Array[B]): Int
- î
def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
- î
def count(p: ((K, V)) => Boolean): Int
- î
def default(key: K): V
- î
def drop(n: Int): Map[K, V]
- î
def dropRight(n: Int): Map[K, V]
- î
def dropWhile(p: ((K, V)) => Boolean): Map[K, V]
- î
def elementWise: ElementWiseExtractor[K, V]
- î
def empty: Map[K, V]
- î
def ensuring(cond: (Map[K, V]) => Boolean, msg: => Any): Map[K, V]
- î
def ensuring(cond: (Map[K, V]) => Boolean): Map[K, V]
- î
def ensuring(cond: Boolean, msg: => Any): Map[K, V]
- î
def ensuring(cond: Boolean): Map[K, V]
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(o: Any): Boolean
- î
def exists(p: ((K, V)) => Boolean): Boolean
- î
def filter(pred: ((K, V)) => Boolean): Map[K, V]
- î
def filterNot(pred: ((K, V)) => Boolean): Map[K, V]
- î
def finalize(): Unit
- î
def find(p: ((K, V)) => Boolean): Option[(K, V)]
- î
def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): Map[K2, V2]
- î
def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterable[B]
- î
def flatten[B](implicit asIterable: ((K, V)) => IterableOnce[B]): Iterable[B]
- î
def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
- î
def foldRight[B](z: B)(op: ((K, V), B) => B): B
- î
def forall(p: ((K, V)) => Boolean): Boolean
- î
def foreach[U](f: ((K, V)) => U): Unit
- î
def foreachEntry[U](f: (K, V) => U): Unit
- î
def formatted(fmtstr: String): String
- î
def fromSpecific(coll: IterableOnce[(K, V)]): Map[K, V]
- î
final def getClass(): Class[_ <: AnyRef]
- î
def getOrElse[V1 >: V](key: K, default: => V1): V1
- î
def groupBy[K](f: ((K, V)) => K): Map[K, Map[K, V]]
- î
def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): Map[K, Iterable[B]]
- î
def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): Map[K, B]
- î
def grouped(size: Int): Iterator[Map[K, V]]
- î
def hashCode(): Int
- î
def head: (K, V)
- î
def headOption: Option[(K, V)]
- î
def init: Map[K, V]
- î
def inits: Iterator[Map[K, V]]
- î
def isDefinedAt(key: K): Boolean
- î
def isEmpty: Boolean
- î
final def isInstanceOf[T0]: Boolean
- î
def isTraversableAgain: Boolean
- î
def iterableFactory: IterableFactory[Iterable]
- î
def keySet: Set[K]
- î
def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
- î
def keys: collection.Iterable[K]
- î
def keysIterator: Iterator[K]
- î
def knownSize: Int
- î
def last: (K, V)
- î
def lastOption: Option[(K, V)]
- î
def lazyZip[B](that: collection.Iterable[B]): LazyZip2[(K, V), B, Map.this.type]
- î
def lift: (K) => Option[V]
- î
def map[K2, V2](f: ((K, V)) => (K2, V2)): Map[K2, V2]
- î
def map[B](f: ((K, V)) => B): Iterable[B]
- î
def mapFactory: MapFactory[Map]
- î
final def mapFromIterable[K2, V2](it: collection.Iterable[(K2, V2)]): Map[K2, V2]
- î
def max[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
- î
def maxBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
- î
def maxByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
- î
def maxOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
- î
def min[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
- î
def minBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
- î
def minByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
- î
def minOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
- î
final def mkString: String
- î
final def mkString(sep: String): String
- î
final def mkString(start: String, sep: String, end: String): String
- î
final def ne(arg0: AnyRef): Boolean
- î
def newSpecificBuilder: Builder[(K, V), Map[K, V]]
- î
def nonEmpty: Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- î
def partition(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
- î
def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- î
def product[B >: (K, V)](implicit num: math.Numeric[B]): B
- î
def reduce[B >: (K, V)](op: (B, B) => B): B
- î
def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
- î
def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
- î
def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
- î
def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
- î
def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
- î
def removedAll(keys: IterableOnce[K]): Map[K, V]
- î
def reversed: collection.Iterable[(K, V)]
- î
def runWith[U](action: (V) => U): (K) => Boolean
- î
def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
- î
def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
- î
def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
- î
def size: Int
- î
def sizeCompare(that: collection.Iterable[_]): Int
- î
def sizeCompare(otherSize: Int): Int
- î
final def sizeIs: SizeCompareOps
- î
def slice(from: Int, until: Int): Map[K, V]
- î
def sliding(size: Int, step: Int): Iterator[Map[K, V]]
- î
def sliding(size: Int): Iterator[Map[K, V]]
- î
def span(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
- î
def splitAt(n: Int): (Map[K, V], Map[K, V])
- î
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
- î
def stringPrefix: String
- î
def sum[B >: (K, V)](implicit num: math.Numeric[B]): B
- î
final def synchronized[T0](arg0: => T0): T0
- î
def tail: Map[K, V]
- î
def tails: Iterator[Map[K, V]]
- î
def take(n: Int): Map[K, V]
- î
def takeRight(n: Int): Map[K, V]
- î
def takeWhile(p: ((K, V)) => Boolean): Map[K, V]
- î
def tapEach[U](f: ((K, V)) => U): Map[K, V]
- î
def to[C1](factory: Factory[(K, V), C1]): C1
- î
def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
- î
final def toBuffer[B >: (K, V)]: Buffer[B]
- î
def toIndexedSeq: IndexedSeq[(K, V)]
- î
final def toIterable: Map.this.type
- î
def toList: List[(K, V)]
- î
final def toMap[K2, V2](implicit ev: <:<[(K, V), (K2, V2)]): Map[K2, V2]
- î
def toSeq: Seq[(K, V)]
- î
def toSet[B >: (K, V)]: Set[B]
- î
def toString(): String
- î
def toVector: Vector[(K, V)]
- î
def transform[W](f: (K, V) => W): Map[K, W]
- î
def transpose[B](implicit asIterable: ((K, V)) => collection.Iterable[B]): Iterable[Iterable[B]]
- î
def unapply(a: K): Option[V]
- î
def unlift: PartialFunction[K, B]
- î
def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
- î
def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- î
def updatedWith[V1 >: V](key: K)(remappingFunction: (Option[V]) => Option[V1]): Map[K, V1]
- î
def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
- î
def values: collection.Iterable[V]
- î
def valuesIterator: Iterator[V]
- î
def view: MapView[K, V]
- î
final def wait(): Unit
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
def withDefault[V1 >: V](d: (K) => V1): Map[K, V1]
- î
def withDefaultValue[V1 >: V](d: V1): Map[K, V1]
- î
def withFilter(p: ((K, V)) => Boolean): MapOps.WithFilter[K, V, [x]Iterable[x], [x, y]Map[x, y]]
- î
def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
- î
def zipAll[A1 >: (K, V), B](that: collection.Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- î
def zipWithIndex: Iterable[((K, V), Int)]
Deprecated Value Members
- î
def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): Map[K, V1]
- î
def ++:[V1 >: V](that: IterableOnce[(K, V1)]): Map[K, V1]
- î
def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
- î
def -(key1: K, key2: K, keys: K*): Map[K, V]
- î
def /:[B](z: B)(op: (B, (K, V)) => B): B
- î
final def /:[B](z: B)(op: (B, (K, V)) => B): B
- î
def :\[B](z: B)(op: ((K, V), B) => B): B
- î
final def :\[B](z: B)(op: ((K, V), B) => B): B
- î
def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
- î
def collectFirst[B](f: PartialFunction[(K, V), B]): Option[B]
- î
def companion: IterableFactory[[_]Iterable[_]]
- î
def copyToBuffer(dest: Buffer[(K, V)]): Unit
- î
final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
- î
def count(f: ((K, V)) => Boolean): Int
- î
def exists(f: ((K, V)) => Boolean): Boolean
- î
def filter(f: ((K, V)) => Boolean): Iterator[(K, V)]
- î
def filterKeys(p: (K) => Boolean): MapView[K, V]
- î
def find(p: ((K, V)) => Boolean): Option[(K, V)]
- î
def flatMap[B](f: ((K, V)) => IterableOnce[B]): IterableOnce[B]
- î
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
- î
def foldRight[B](z: B)(op: ((K, V), B) => B): B
- î
def forall(f: ((K, V)) => Boolean): Boolean
- î
def foreach[U](f: ((K, V)) => U): Unit
- î
def hasDefiniteSize: Boolean
- î
def isEmpty: Boolean
- î
def map[B](f: ((K, V)) => B): IterableOnce[B]
- î
def mapValues[W](f: (V) => W): MapView[K, W]
- î
def max(implicit ord: math.Ordering[(K, V)]): (K, V)
- î
def maxBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
- î
def min(implicit ord: math.Ordering[(K, V)]): (K, V)
- î
def minBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
- î
def mkString: String
- î
def mkString(sep: String): String
- î
def mkString(start: String, sep: String, end: String): String
- î
def nonEmpty: Boolean
- î
def product(implicit num: math.Numeric[(K, V)]): (K, V)
- î
def reduce(f: ((K, V), (K, V)) => (K, V)): (K, V)
- î
def reduceLeft(f: ((K, V), (K, V)) => (K, V)): (K, V)
- î
def reduceLeftOption(f: ((K, V), (K, V)) => (K, V)): Option[(K, V)]
- î
def reduceOption(f: ((K, V), (K, V)) => (K, V)): Option[(K, V)]
- î
def reduceRight(f: ((K, V), (K, V)) => (K, V)): (K, V)
- î
def reduceRightOption(f: ((K, V), (K, V)) => (K, V)): Option[(K, V)]
- î
final def repr: Map[K, V]
- î
def sameElements[B >: A](that: IterableOnce[B]): Boolean
- î
def seq: Map.this.type
- î
def size: Int
- î
def sum(implicit num: math.Numeric[(K, V)]): (K, V)
- î
def to[C1](factory: Factory[(K, V), C1]): C1
- î
def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- î
def toBuffer[B >: A]: Buffer[B]
- î
def toIndexedSeq: collection.IndexedSeq[(K, V)]
- î
final def toIterable: collection.Iterable[(K, V)]
- î
def toIterator: Iterator[(K, V)]
- î
final def toIterator: Iterator[(K, V)]
- î
def toList: List[(K, V)]
- î
def toMap[K, V](implicit ev: <:<[(K, V), (K, V)]): Map[K, V]
- î
def toSeq: Seq[(K, V)]
- î
def toSet[B >: A]: Set[B]
- î
def toStream: Stream[(K, V)]
- î
final def toStream: Stream[(K, V)]
- î
final def toTraversable: collection.Traversable[(K, V)]
- î
final def toTraversable: collection.Traversable[(K, V)]
- î
def toVector: Vector[(K, V)]
- î
def view(from: Int, until: Int): View[(K, V)]
- î
def withFilter(f: ((K, V)) => Boolean): Iterator[(K, V)]
- î
def â[B](y: B): (Map[K, V], B)
Inherited from (K) => V
Inherited by implicit conversion UnliftOps fromMap[K, V] to UnliftOps[K, B] Inherited by implicit conversion Ensuring fromMap[K, V] to Ensuring[Map[K, V]] Inherited by implicit conversion ArrowAssoc fromMap[K, V] to ArrowAssoc[Map[K, V]]
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4