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

abstract class AbstractMapView[K, +V] extends AbstractView[(K, V)] with MapView[K, V]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. AbstractMapView
  2. MapView
  3. MapOps
  4. PartialFunction
  5. Function1
  6. AbstractView
  7. View
  8. Serializable
  9. AbstractIterable
  10. Iterable
  11. IterableFactoryDefaults
  12. IterableOps
  13. IterableOnceOps
  14. IterableOnce
  15. AnyRef
  16. Any

Implicitly

  1. by UnliftOps

  2. by iterableOnceExtensionMethods

  3. by any2stringadd

  4. by StringFormat

  5. by Ensuring

  6. by ArrowAssoc

  7. Hide All

  8. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new AbstractMapView()

Abstract Value Members

  1. abstract def get(key: K): Option[V]
  2. abstract def iterator: Iterator[(K, V)]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. def ++[V2 >: V](xs: IterableOnce[(K, V2)]): View[(K, V2)]
  4. final def ++[B >: (K, V)](suffix: IterableOnce[B]): View[B]
  5. def ->[B](y: B): (AbstractMapView[K, V], B)
  6. final def ==(arg0: Any): Boolean
  7. def addString(sb: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
  8. final def addString(b: mutable.StringBuilder): mutable.StringBuilder
  9. final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
  10. def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
  11. def andThen[C](k: (V) => C): PartialFunction[K, C]
  12. def apply(key: K): V
  13. def applyOrElse[K1 <: K, V1 >: V](x: K1, default: (K1) => V1): V1
  14. final def asInstanceOf[T0]: T0
  15. def className: String
  16. def clone(): AnyRef
  17. final def coll: AbstractMapView.this.type
  18. def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): View[(K2, V2)]
  19. def collect[B](pf: PartialFunction[(K, V), B]): View[B]
  20. def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
  21. def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
  22. def compose[A](g: (A) => K): (A) => V
  23. def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): View[(K, V2)]
  24. def concat[B >: (K, V)](suffix: IterableOnce[B]): View[B]
  25. def contains(key: K): Boolean
  26. def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
  27. def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
  28. def copyToArray[B >: (K, V)](xs: Array[B]): Int
  29. def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
  30. def count(p: ((K, V)) => Boolean): Int
  31. def default(key: K): V
  32. def drop(n: Int): View[(K, V)]
  33. def dropRight(n: Int): View[(K, V)]
  34. def dropWhile(p: ((K, V)) => Boolean): View[(K, V)]
  35. def elementWise: ElementWiseExtractor[K, V]
  36. def empty: MapView[K, V]
  37. def ensuring(cond: (AbstractMapView[K, V]) => Boolean, msg: => Any): AbstractMapView[K, V]
  38. def ensuring(cond: (AbstractMapView[K, V]) => Boolean): AbstractMapView[K, V]
  39. def ensuring(cond: Boolean, msg: => Any): AbstractMapView[K, V]
  40. def ensuring(cond: Boolean): AbstractMapView[K, V]
  41. final def eq(arg0: AnyRef): Boolean
  42. def equals(arg0: AnyRef): Boolean
  43. def exists(p: ((K, V)) => Boolean): Boolean
  44. def filter(pred: ((K, V)) => Boolean): MapView[K, V]
  45. def filterKeys(p: (K) => Boolean): MapView[K, V]
  46. def filterNot(pred: ((K, V)) => Boolean): MapView[K, V]
  47. def finalize(): Unit
  48. def find(p: ((K, V)) => Boolean): Option[(K, V)]
  49. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): View[(K2, V2)]
  50. def flatMap[B](f: ((K, V)) => IterableOnce[B]): View[B]
  51. def flatten[B](implicit asIterable: ((K, V)) => IterableOnce[B]): View[B]
  52. def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
  53. def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
  54. def foldRight[B](z: B)(op: ((K, V), B) => B): B
  55. def forall(p: ((K, V)) => Boolean): Boolean
  56. def foreach[U](f: ((K, V)) => U): Unit
  57. def foreachEntry[U](f: (K, V) => U): Unit
  58. def formatted(fmtstr: String): String
  59. def fromSpecific(coll: IterableOnce[(K, V)]): View[(K, V)]
  60. final def getClass(): Class[_ <: AnyRef]
  61. def getOrElse[V1 >: V](key: K, default: => V1): V1
  62. def groupBy[K](f: ((K, V)) => K): immutable.Map[K, View[(K, V)]]
  63. def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): immutable.Map[K, View[B]]
  64. def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): immutable.Map[K, B]
  65. def grouped(size: Int): Iterator[View[(K, V)]]
  66. def hashCode(): Int
  67. def head: (K, V)
  68. def headOption: Option[(K, V)]
  69. def init: View[(K, V)]
  70. def inits: Iterator[View[(K, V)]]
  71. def isDefinedAt(key: K): Boolean
  72. def isEmpty: Boolean
  73. final def isInstanceOf[T0]: Boolean
  74. def isTraversableAgain: Boolean
  75. def iterableFactory: IterableFactory[View]
  76. def keySet: Set[K]
  77. def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
  78. def keys: Iterable[K]
  79. def keysIterator: Iterator[K]
  80. def knownSize: Int
  81. def last: (K, V)
  82. def lastOption: Option[(K, V)]
  83. def lazyZip[B](that: Iterable[B]): LazyZip2[(K, V), B, AbstractMapView.this.type]
  84. def lift: (K) => Option[V]
  85. def map[K2, V2](f: ((K, V)) => (K2, V2)): View[(K2, V2)]
  86. def map[B](f: ((K, V)) => B): View[B]
  87. def mapFactory: MapViewFactory
  88. final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): View[(K2, V2)]
  89. def mapValues[W](f: (V) => W): MapView[K, W]
  90. def max[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
  91. def maxBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
  92. def maxByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
  93. def maxOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
  94. def min[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
  95. def minBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
  96. def minByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
  97. def minOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
  98. final def mkString: String
  99. final def mkString(sep: String): String
  100. final def mkString(start: String, sep: String, end: String): String
  101. final def ne(arg0: AnyRef): Boolean
  102. def newSpecificBuilder: Builder[(K, V), View[(K, V)]]
  103. def nonEmpty: Boolean
  104. final def notify(): Unit
  105. final def notifyAll(): Unit
  106. def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
  107. def partition(p: ((K, V)) => Boolean): (MapView[K, V], MapView[K, V])
  108. def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (View[A1], View[A2])
  109. def product[B >: (K, V)](implicit num: math.Numeric[B]): B
  110. def reduce[B >: (K, V)](op: (B, B) => B): B
  111. def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
  112. def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
  113. def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
  114. def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
  115. def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
  116. def reversed: Iterable[(K, V)]
  117. def runWith[U](action: (V) => U): (K) => Boolean
  118. def scan[B >: (K, V)](z: B)(op: (B, B) => B): View[B]
  119. def scanLeft[B](z: B)(op: (B, (K, V)) => B): View[B]
  120. def scanRight[B](z: B)(op: ((K, V), B) => B): View[B]
  121. def size: Int
  122. def sizeCompare(that: Iterable[_]): Int
  123. def sizeCompare(otherSize: Int): Int
  124. final def sizeIs: SizeCompareOps
  125. def slice(from: Int, until: Int): View[(K, V)]
  126. def sliding(size: Int, step: Int): Iterator[View[(K, V)]]
  127. def sliding(size: Int): Iterator[View[(K, V)]]
  128. def span(p: ((K, V)) => Boolean): (View[(K, V)], View[(K, V)])
  129. def splitAt(n: Int): (View[(K, V)], View[(K, V)])
  130. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
  131. def stringPrefix: String
  132. def sum[B >: (K, V)](implicit num: math.Numeric[B]): B
  133. final def synchronized[T0](arg0: => T0): T0
  134. def tail: View[(K, V)]
  135. def tails: Iterator[View[(K, V)]]
  136. def take(n: Int): View[(K, V)]
  137. def takeRight(n: Int): View[(K, V)]
  138. def takeWhile(p: ((K, V)) => Boolean): View[(K, V)]
  139. def tapEach[U](f: ((K, V)) => U): MapView[K, V]
  140. def to[C1](factory: Factory[(K, V), C1]): C1
  141. def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
  142. final def toBuffer[B >: (K, V)]: Buffer[B]
  143. def toIndexedSeq: immutable.IndexedSeq[(K, V)]
  144. final def toIterable: AbstractMapView.this.type
  145. def toList: immutable.List[(K, V)]
  146. def toMap[K, V](implicit ev: <:<[(K, V), (K, V)]): immutable.Map[K, V]
  147. def toSeq: immutable.Seq[(K, V)]
  148. def toSet[B >: (K, V)]: immutable.Set[B]
  149. def toString(): String
  150. def toVector: immutable.Vector[(K, V)]
  151. def transpose[B](implicit asIterable: ((K, V)) => Iterable[B]): View[View[B]]
  152. def unapply(a: K): Option[V]
  153. def unlift: PartialFunction[K, B]
  154. def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (View[A1], View[A2])
  155. def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (View[A1], View[A2], View[A3])
  156. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
  157. def values: Iterable[V]
  158. def valuesIterator: Iterator[V]
  159. def view: MapView[K, V]
  160. final def wait(): Unit
  161. final def wait(arg0: Long, arg1: Int): Unit
  162. final def wait(arg0: Long): Unit
  163. def withFilter(p: ((K, V)) => Boolean): MapOps.WithFilter[K, V, View, [X, Y]View[(X, Y)]]
  164. def zip[B](that: IterableOnce[B]): View[((K, V), B)]
  165. def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): View[(A1, B)]
  166. def zipWithIndex: View[((K, V), Int)]

Deprecated Value Members

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

Inherited from MapView[K, V]

Inherited from MapOps[K, V, [X, Y]View[(X, Y)], View[(K, V)]]

Inherited from PartialFunction[K, V]

Inherited from (K) => V

Inherited from AbstractView[(K, V)]

Inherited from View[(K, V)]

Inherited from java.io.Serializable

Inherited from AbstractIterable[(K, V)]

Inherited from Iterable[(K, V)]

Inherited from IterableFactoryDefaults[(K, V), [x]View[x]]

Inherited from IterableOps[(K, V), [_]View[_], View[(K, V)]]

Inherited from IterableOnceOps[(K, V), [_]View[_], View[(K, V)]]

Inherited from IterableOnce[(K, V)]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion UnliftOps fromAbstractMapView[K, V] to UnliftOps[K, B]

Inherited by implicit conversion iterableOnceExtensionMethods fromAbstractMapView[K, V] to IterableOnceExtensionMethods[(K, V)]

Inherited by implicit conversion any2stringadd fromAbstractMapView[K, V] to any2stringadd[AbstractMapView[K, V]]

Inherited by implicit conversion StringFormat fromAbstractMapView[K, V] to StringFormat[AbstractMapView[K, V]]

Inherited by implicit conversion Ensuring fromAbstractMapView[K, V] to Ensuring[AbstractMapView[K, V]]

Inherited by implicit conversion ArrowAssoc fromAbstractMapView[K, V] to ArrowAssoc[AbstractMapView[K, V]]

Ungrouped