Scala Standard Library 2.13.1 - scala.collection.SeqView.Map (original) (raw)

class Map[+A, +B] extends View.Map[A, B] with SeqView[B]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Map
  2. SeqView
  3. SeqOps
  4. Map
  5. AbstractView
  6. View
  7. Serializable
  8. AbstractIterable
  9. Iterable
  10. IterableFactoryDefaults
  11. IterableOps
  12. IterableOnceOps
  13. IterableOnce
  14. AnyRef
  15. Any

Implicitly

  1. by iterableOnceExtensionMethods

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Map(underlying: SomeSeqOps[A], f: (A) => B)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. def +(other: String): String
  4. final def ++[B >: B](suffix: IterableOnce[B]): View[B]
  5. final def ++:[B >: B](prefix: IterableOnce[B]): View[B]
  6. final def +:[B >: B](elem: B): View[B]
  7. def ->[B](y: B): (Map[A, B], B)
  8. final def :+[B >: B](elem: B): View[B]
  9. final def :++[B >: B](suffix: IterableOnce[B]): View[B]
  10. final def ==(arg0: Any): Boolean
  11. final def addString(b: mutable.StringBuilder): mutable.StringBuilder
  12. final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
  13. def addString(b: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
  14. def appended[B >: B](elem: B): SeqView[B]
  15. def appendedAll[B >: B](suffix: SomeSeqOps[B]): SeqView[B]
  16. def appendedAll[B >: B](suffix: IterableOnce[B]): View[B]
  17. def apply(idx: Int): B
  18. final def asInstanceOf[T0]: T0
  19. def className: String
  20. def clone(): AnyRef
  21. final def coll: Map.this.type
  22. def collect[B](pf: PartialFunction[B, B]): View[B]
  23. def collectFirst[B](pf: PartialFunction[B, B]): Option[B]
  24. def combinations(n: Int): Iterator[View[B]]
  25. def concat[B >: B](suffix: SomeSeqOps[B]): SeqView[B]
  26. final def concat[B >: B](suffix: IterableOnce[B]): View[B]
  27. def contains[A1 >: B](elem: A1): Boolean
  28. def containsSlice[B](that: Seq[B]): Boolean
  29. def copyToArray[B >: B](xs: Array[B], start: Int, len: Int): Int
  30. def copyToArray[B >: B](xs: Array[B], start: Int): Int
  31. def copyToArray[B >: B](xs: Array[B]): Int
  32. def corresponds[B](that: Seq[B])(p: (B, B) => Boolean): Boolean
  33. def corresponds[B](that: IterableOnce[B])(p: (B, B) => Boolean): Boolean
  34. def count(p: (B) => Boolean): Int
  35. def diff[B >: B](that: Seq[B]): View[B]
  36. def distinct: View[B]
  37. def distinctBy[B](f: (B) => B): View[B]
  38. def drop(n: Int): SeqView[B]
  39. def dropRight(n: Int): SeqView[B]
  40. def dropWhile(p: (B) => Boolean): View[B]
  41. def empty: View[B]
  42. def endsWith[B >: B](that: Iterable[B]): Boolean
  43. def ensuring(cond: (Map[A, B]) => Boolean, msg: => Any): Map[A, B]
  44. def ensuring(cond: (Map[A, B]) => Boolean): Map[A, B]
  45. def ensuring(cond: Boolean, msg: => Any): Map[A, B]
  46. def ensuring(cond: Boolean): Map[A, B]
  47. final def eq(arg0: AnyRef): Boolean
  48. def equals(arg0: AnyRef): Boolean
  49. def exists(p: (B) => Boolean): Boolean
  50. def filter(pred: (B) => Boolean): View[B]
  51. def filterNot(pred: (B) => Boolean): View[B]
  52. def finalize(): Unit
  53. def find(p: (B) => Boolean): Option[B]
  54. def findLast(p: (B) => Boolean): Option[B]
  55. def flatMap[B](f: (B) => IterableOnce[B]): View[B]
  56. def flatten[B](implicit asIterable: (B) => IterableOnce[B]): View[B]
  57. def fold[A1 >: B](z: A1)(op: (A1, A1) => A1): A1
  58. def foldLeft[B](z: B)(op: (B, B) => B): B
  59. def foldRight[B](z: B)(op: (B, B) => B): B
  60. def forall(p: (B) => Boolean): Boolean
  61. def foreach[U](f: (B) => U): Unit
  62. def formatted(fmtstr: String): String
  63. def fromSpecific(coll: IterableOnce[B]): View[B]
  64. final def getClass(): Class[_ <: AnyRef]
  65. def groupBy[K](f: (B) => K): immutable.Map[K, View[B]]
  66. def groupMap[K, B](key: (B) => K)(f: (B) => B): immutable.Map[K, View[B]]
  67. def groupMapReduce[K, B](key: (B) => K)(f: (B) => B)(reduce: (B, B) => B): immutable.Map[K, B]
  68. def grouped(size: Int): Iterator[View[B]]
  69. def hashCode(): Int
  70. def head: B
  71. def headOption: Option[B]
  72. def indexOf[B >: B](elem: B): Int
  73. def indexOf[B >: B](elem: B, from: Int): Int
  74. def indexOfSlice[B >: B](that: Seq[B]): Int
  75. def indexOfSlice[B >: B](that: Seq[B], from: Int): Int
  76. def indexWhere(p: (B) => Boolean): Int
  77. def indexWhere(p: (B) => Boolean, from: Int): Int
  78. def indices: immutable.Range
  79. def init: View[B]
  80. def inits: Iterator[View[B]]
  81. def intersect[B >: B](that: Seq[B]): View[B]
  82. def isDefinedAt(idx: Int): Boolean
  83. def isEmpty: Boolean
  84. final def isInstanceOf[T0]: Boolean
  85. def isTraversableAgain: Boolean
  86. def iterableFactory: IterableFactory[View]
  87. def iterator: Iterator[B]
  88. def knownSize: Int
  89. def last: B
  90. def lastIndexOf[B >: B](elem: B, end: Int = length - 1): Int
  91. def lastIndexOfSlice[B >: B](that: Seq[B]): Int
  92. def lastIndexOfSlice[B >: B](that: Seq[B], end: Int): Int
  93. def lastIndexWhere(p: (B) => Boolean): Int
  94. def lastIndexWhere(p: (B) => Boolean, end: Int): Int
  95. def lastOption: Option[B]
  96. def lazyZip[B](that: Iterable[B]): LazyZip2[B, B, Map.this.type]
  97. def length: Int
  98. def lengthCompare(that: Iterable[_]): Int
  99. def lengthCompare(len: Int): Int
  100. final def lengthIs: SizeCompareOps
  101. def map[B](f: (B) => B): SeqView[B]
  102. def max[B >: B](implicit ord: math.Ordering[B]): B
  103. def maxBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
  104. def maxByOption[B](f: (B) => B)(implicit cmp: math.Ordering[B]): Option[B]
  105. def maxOption[B >: B](implicit ord: math.Ordering[B]): Option[B]
  106. def min[B >: B](implicit ord: math.Ordering[B]): B
  107. def minBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
  108. def minByOption[B](f: (B) => B)(implicit cmp: math.Ordering[B]): Option[B]
  109. def minOption[B >: B](implicit ord: math.Ordering[B]): Option[B]
  110. final def mkString: String
  111. final def mkString(sep: String): String
  112. final def mkString(start: String, sep: String, end: String): String
  113. final def ne(arg0: AnyRef): Boolean
  114. def newSpecificBuilder: Builder[B, View[B]]
  115. def nonEmpty: Boolean
  116. final def notify(): Unit
  117. final def notifyAll(): Unit
  118. def occCounts[B](sq: Seq[B]): mutable.Map[B, Int]
  119. def padTo[B >: B](len: Int, elem: B): View[B]
  120. def partition(p: (B) => Boolean): (View[B], View[B])
  121. def partitionMap[A1, A2](f: (B) => Either[A1, A2]): (View[A1], View[A2])
  122. def patch[B >: B](from: Int, other: IterableOnce[B], replaced: Int): View[B]
  123. def permutations: Iterator[View[B]]
  124. def prepended[B >: B](elem: B): SeqView[B]
  125. def prependedAll[B >: B](prefix: SomeSeqOps[B]): SeqView[B]
  126. def prependedAll[B >: B](prefix: IterableOnce[B]): View[B]
  127. def product[B >: B](implicit num: math.Numeric[B]): B
  128. def reduce[B >: B](op: (B, B) => B): B
  129. def reduceLeft[B >: B](op: (B, B) => B): B
  130. def reduceLeftOption[B >: B](op: (B, B) => B): Option[B]
  131. def reduceOption[B >: B](op: (B, B) => B): Option[B]
  132. def reduceRight[B >: B](op: (B, B) => B): B
  133. def reduceRightOption[B >: B](op: (B, B) => B): Option[B]
  134. def reverse: SeqView[B]
  135. def reverseIterator: Iterator[B]
  136. def reversed: Iterable[B]
  137. def sameElements[B >: B](that: IterableOnce[B]): Boolean
  138. def scan[B >: B](z: B)(op: (B, B) => B): View[B]
  139. def scanLeft[B](z: B)(op: (B, B) => B): View[B]
  140. def scanRight[B](z: B)(op: (B, B) => B): View[B]
  141. def search[B >: B](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
  142. def search[B >: B](elem: B)(implicit ord: Ordering[B]): SearchResult
  143. def segmentLength(p: (B) => Boolean, from: Int): Int
  144. final def segmentLength(p: (B) => Boolean): Int
  145. final def size: Int
  146. final def sizeCompare(that: Iterable[_]): Int
  147. final def sizeCompare(otherSize: Int): Int
  148. final def sizeIs: SizeCompareOps
  149. def slice(from: Int, until: Int): View[B]
  150. def sliding(size: Int, step: Int): Iterator[View[B]]
  151. def sliding(size: Int): Iterator[View[B]]
  152. def sortBy[B](f: (B) => B)(implicit ord: Ordering[B]): View[B]
  153. def sortWith(lt: (B, B) => Boolean): View[B]
  154. def sorted[B >: B](implicit ord: Ordering[B]): SeqView[B]
  155. def span(p: (B) => Boolean): (View[B], View[B])
  156. def splitAt(n: Int): (View[B], View[B])
  157. def startsWith[B >: B](that: IterableOnce[B], offset: Int = 0): Boolean
  158. def stepper[S <: Stepper[_]](implicit shape: StepperShape[B, S]): S
  159. def stringPrefix: String
  160. def sum[B >: B](implicit num: math.Numeric[B]): B
  161. final def synchronized[T0](arg0: => T0): T0
  162. def tail: View[B]
  163. def tails: Iterator[View[B]]
  164. def take(n: Int): SeqView[B]
  165. def takeRight(n: Int): SeqView[B]
  166. def takeWhile(p: (B) => Boolean): View[B]
  167. def tapEach[U](f: (B) => U): SeqView[B]
  168. def to[C1](factory: Factory[B, C1]): C1
  169. def toArray[B >: B](implicit arg0: ClassTag[B]): Array[B]
  170. final def toBuffer[B >: B]: Buffer[B]
  171. def toIndexedSeq: immutable.IndexedSeq[B]
  172. final def toIterable: Map.this.type
  173. def toList: immutable.List[B]
  174. def toMap[K, V](implicit ev: <:<[B, (K, V)]): immutable.Map[K, V]
  175. def toSeq: immutable.Seq[B]
  176. def toSet[B >: B]: immutable.Set[B]
  177. def toString(): String
  178. def toVector: immutable.Vector[B]
  179. def transpose[B](implicit asIterable: (B) => Iterable[B]): View[View[B]]
  180. def unzip[A1, A2](implicit asPair: (B) => (A1, A2)): (View[A1], View[A2])
  181. def unzip3[A1, A2, A3](implicit asTriple: (B) => (A1, A2, A3)): (View[A1], View[A2], View[A3])
  182. def updated[B >: B](index: Int, elem: B): View[B]
  183. def view: SeqView[B]
  184. final def wait(): Unit
  185. final def wait(arg0: Long, arg1: Int): Unit
  186. final def wait(arg0: Long): Unit
  187. def withFilter(p: (B) => Boolean): WithFilter[B, [_]View[_]]
  188. def zip[B](that: IterableOnce[B]): View[(B, B)]
  189. def zipAll[A1 >: B, B](that: Iterable[B], thisElem: A1, thatElem: B): View[(A1, B)]
  190. def zipWithIndex: View[(B, Int)]

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, B) => B): B
  2. final def /:[B](z: B)(op: (B, B) => B): B
  3. def :\[B](z: B)(op: (B, B) => B): B
  4. final def :\[B](z: B)(op: (B, B) => B): B
  5. def aggregate[B](z: => B)(seqop: (B, B) => B, combop: (B, B) => B): B
  6. def collectFirst[B](f: PartialFunction[B, B]): Option[B]
  7. def companion: IterableFactory[[_]View[_]]
  8. def copyToBuffer(dest: Buffer[B]): Unit
  9. final def copyToBuffer[B >: B](dest: Buffer[B]): Unit
  10. def count(f: (B) => Boolean): Int
  11. def exists(f: (B) => Boolean): Boolean
  12. def filter(f: (B) => Boolean): Iterator[B]
  13. def find(p: (B) => Boolean): Option[B]
  14. def flatMap[B](f: (B) => IterableOnce[B]): IterableOnce[B]
  15. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
  16. def foldLeft[B](z: B)(op: (B, B) => B): B
  17. def foldRight[B](z: B)(op: (B, B) => B): B
  18. def forall(f: (B) => Boolean): Boolean
  19. def force: IndexedSeq[B]
  20. def foreach[U](f: (B) => U): Unit
  21. def hasDefiniteSize: Boolean
  22. def isEmpty: Boolean
  23. def map[B](f: (B) => B): IterableOnce[B]
  24. def max(implicit ord: math.Ordering[B]): B
  25. def maxBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
  26. def min(implicit ord: math.Ordering[B]): B
  27. def minBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
  28. def mkString: String
  29. def mkString(sep: String): String
  30. def mkString(start: String, sep: String, end: String): String
  31. def nonEmpty: Boolean
  32. final def prefixLength(p: (B) => Boolean): Int
  33. def product(implicit num: math.Numeric[B]): B
  34. def reduce(f: (B, B) => B): B
  35. def reduceLeft(f: (B, B) => B): B
  36. def reduceLeftOption(f: (B, B) => B): Option[B]
  37. def reduceOption(f: (B, B) => B): Option[B]
  38. def reduceRight(f: (B, B) => B): B
  39. def reduceRightOption(f: (B, B) => B): Option[B]
  40. final def repr: View[B]
  41. def reverseMap[B](f: (B) => B): View[B]
  42. def sameElements[B >: A](that: IterableOnce[B]): Boolean
  43. def seq: Map.this.type
  44. def size: Int
  45. def sum(implicit num: math.Numeric[B]): B
  46. def to[C1](factory: Factory[B, C1]): C1
  47. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  48. def toBuffer[B >: A]: Buffer[B]
  49. def toIndexedSeq: IndexedSeq[B]
  50. final def toIterable: Iterable[B]
  51. def toIterator: Iterator[B]
  52. final def toIterator: Iterator[B]
  53. def toList: immutable.List[B]
  54. def toMap[K, V](implicit ev: <:<[B, (K, V)]): immutable.Map[K, V]
  55. def toSeq: immutable.Seq[B]
  56. def toSet[B >: A]: immutable.Set[B]
  57. def toStream: immutable.Stream[B]
  58. final def toStream: immutable.Stream[B]
  59. final def toTraversable: Traversable[B]
  60. final def toTraversable: Traversable[B]
  61. def toVector: immutable.Vector[B]
  62. final def union[B >: B](that: Seq[B]): View[B]
  63. def view(from: Int, until: Int): View[B]
  64. def withFilter(f: (B) => Boolean): Iterator[B]
  65. def →[B](y: B): (Map[A, B], B)

Inherited from SeqView[B]

Inherited from SeqOps[B, View, View[B]]

Inherited from View.Map[A, B]

Inherited from AbstractView[B]

Inherited from View[B]

Inherited from java.io.Serializable

Inherited from AbstractIterable[B]

Inherited from Iterable[B]

Inherited from IterableFactoryDefaults[B, [x]View[x]]

Inherited from IterableOps[B, [_]View[_], View[B]]

Inherited from IterableOnceOps[B, [_]View[_], View[B]]

Inherited from IterableOnce[B]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion iterableOnceExtensionMethods fromMap[A, B] to IterableOnceExtensionMethods[B]

Inherited by implicit conversion any2stringadd fromMap[A, B] to any2stringadd[Map[A, B]]

Inherited by implicit conversion StringFormat fromMap[A, B] to StringFormat[Map[A, B]]

Inherited by implicit conversion Ensuring fromMap[A, B] to Ensuring[Map[A, B]]

Inherited by implicit conversion ArrowAssoc fromMap[A, B] to ArrowAssoc[Map[A, B]]

Ungrouped