Packages

class ConfigMap extends Map[String, Any] with Serializable

A map of configuration data.

A ConfigMap can be populated from the Runner command line via -D arguments. Runner passes it to many methods where you can use it to configure your test runs. For example, Runner passed the ConfigMap to:

  • the apply method of Reporters via RunStarting events
  • the run method of Suite
  • the runNestedSuites method of Suite
  • the runTests method of Suite
  • the runTest method of Suite
  • the withFixture(NoArgTest) method of Suite
  • the withFixture(OneArgTest) method of fixture.Suite
  • the beforeEach(TestData) method of BeforeAndAfterEachTestData
  • the afterEach(TestData) method of BeforeAndAfterEachTestData

In addition to accessing the ConfigMap in overriden implementations of the above methods, you can also transform and pass along a modified ConfigMap.

A ConfigMap maps string keys to values of any type, i.e., it is a Map[String, Any]. To get a configuration value in a variable of the actual type of that value, therefore, you'll need to perform an unsafe cast. If this cast fails, you'll get an exception, which so long as the ConfigMap is used only in tests, will result in either a failed or canceled test or aborted suite. To give such exceptions nice stack depths and error messages, and to eliminate the need for using asInstanceOf in your test code, ConfigMap provides three methods for accessing values at expected types.

The getRequired method returns the value bound to a key cast to a specified type, or throws TestCanceledException if either the key is not bound or is bound to an incompatible type. Here's an example:

val tempFileName: String = configMap.getRequired[String]("tempFileName")

The getOptional method returns the value bound to a key cast to a specified type, wrapped in a Some, returns None if the key is not bound, or throws TestCanceledException if the key exists but is bound to an incompatible type. Here's an example:

val tempFileName: Option[String] = configMap.getOptional[String]("tempFileName")

The getWithDefault method returns the value bound to a key cast to a specified type, returns a specified default value if the key is not bound, or throws TestCanceledException if the key exists but is either not bound or is bound to an incompatible type. Here's an example:

val tempFileName: String = configMap.getWithDefault[String]("tempFileName", "tmp.txt")

Source
ConfigMap.scala
Linear Supertypes
Serializable, Map[String, Any], MapOps[String, Any, Map, Map[String, Any]], Map[String, Any], Equals, MapFactoryDefaults[String, Any, [x, y]Map[x, y], [x]Iterable[x]], MapOps[String, Any, [_, _]Map[_, _], Map[String, Any]], PartialFunction[String, Any], (String) => Any, Iterable[(String, Any)], Iterable[(String, Any)], IterableFactoryDefaults[(String, Any), [x]Iterable[x]], IterableOps[(String, Any), [_]Iterable[_], Map[String, Any]], IterableOnceOps[(String, Any), [_]Iterable[_], Map[String, Any]], IterableOnce[(String, Any)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigMap
  2. Serializable
  3. Map
  4. MapOps
  5. Map
  6. Equals
  7. MapFactoryDefaults
  8. MapOps
  9. PartialFunction
  10. Function1
  11. Iterable
  12. Iterable
  13. IterableFactoryDefaults
  14. IterableOps
  15. IterableOnceOps
  16. IterableOnce
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ConfigMap(underlying: Map[String, Any])

    underlying

    an immutable Map that holds the key/value pairs contained in this ConfigMap

Value Members

  1. def +[A >: Any](kv: (String, A)): ConfigMap
    Definition Classes
    ConfigMap → MapOps → MapOps
  2. def ++[V2 >: Any](xs: IterableOnce[(String, V2)]): Map[String, V2]
    Definition Classes
    MapOps
  3. final def ++[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def -(key: String): Map[String, Any]
    Definition Classes
    MapOps
    Annotations
    @inline()
  5. final def --(keys: IterableOnce[String]): Map[String, Any]
    Definition Classes
    MapOps → MapOps
    Annotations
    @inline()
  6. def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    MapOps → IterableOnceOps
  7. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  8. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  9. def andThen[C](k: PartialFunction[Any, C]): PartialFunction[String, C]
    Definition Classes
    PartialFunction
  10. def andThen[C](k: (Any) => C): PartialFunction[String, C]
    Definition Classes
    PartialFunction → Function1
  11. def apply(key: String): Any
    Definition Classes
    MapOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  12. def applyOrElse[K1 <: String, V1 >: Any](x: K1, default: (K1) => V1): V1
    Definition Classes
    MapOps → PartialFunction
  13. def canEqual(that: Any): Boolean
    Definition Classes
    Map → Equals
  14. def collect[K2, V2](pf: PartialFunction[(String, Any), (K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  15. def collect[B](pf: PartialFunction[(String, Any), B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  16. def collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
    Definition Classes
    IterableOnceOps
  17. def compose[R](k: PartialFunction[R, String]): PartialFunction[R, Any]
    Definition Classes
    PartialFunction
  18. def compose[A](g: (A) => String): (A) => Any
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  19. def concat[V2 >: Any](suffix: IterableOnce[(String, V2)]): Map[String, V2]
    Definition Classes
    MapOps
  20. def concat[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  21. def contains(key: String): Boolean
    Definition Classes
    MapOps
  22. def copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  23. def copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
  24. def copyToArray[B >: (String, Any)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
  25. def corresponds[B](that: IterableOnce[B])(p: ((String, Any), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  26. def count(p: ((String, Any)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  27. def default(key: String): Any
    Definition Classes
    MapOps
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  28. def drop(n: Int): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  29. def dropRight(n: Int): Map[String, Any]
    Definition Classes
    IterableOps
  30. def dropWhile(p: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  31. def elementWise: ElementWiseExtractor[String, Any]
    Definition Classes
    PartialFunction
  32. def empty: ConfigMap
    Definition Classes
    ConfigMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
  33. def equals(o: Any): Boolean
    Definition Classes
    Map → Equals → AnyRef → Any
  34. def exists(p: ((String, Any)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  35. def filter(pred: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def filterNot(pred: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  37. def find(p: ((String, Any)) => Boolean): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  38. def flatMap[K2, V2](f: ((String, Any)) => IterableOnce[(K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  39. def flatMap[B](f: ((String, Any)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  40. def flatten[B](implicit asIterable: ((String, Any)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  41. def fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  42. def foldLeft[B](z: B)(op: (B, (String, Any)) => B): B
    Definition Classes
    IterableOnceOps
  43. def foldRight[B](z: B)(op: ((String, Any), B) => B): B
    Definition Classes
    IterableOnceOps
  44. def forall(p: ((String, Any)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  45. def foreach[U](f: ((String, Any)) => U): Unit
    Definition Classes
    IterableOnceOps
  46. def foreachEntry[U](f: (String, Any) => U): Unit
    Definition Classes
    MapOps
  47. def get(key: String): Option[Any]
    Definition Classes
    ConfigMap → MapOps
  48. def getOptional[V](key: String)(implicit classTag: ClassTag[V]): Option[V]

    Returns the value bound to a key cast to a specified type, wrapped in a Some, returns None if the key is not bound, or throws TestCanceledException if the key exists but is bound to an incompatible type.

    Returns the value bound to a key cast to a specified type, wrapped in a Some, returns None if the key is not bound, or throws TestCanceledException if the key exists but is bound to an incompatible type. Here's an example:

    val tempFileName: Option[String] = configMap.getOptional[String]("tempFileName")
    
    

    key

    the key with which the desired value should be associated

    classTag

    an implicit ClassTag specifying the expected type for the desired value

  49. def getOrElse[V1 >: Any](key: String, default: => V1): V1
    Definition Classes
    MapOps
  50. def getRequired[V](key: String)(implicit classTag: ClassTag[V], pos: Position): V

    Returns the value bound to a key cast to the specified type V, or throws TestCanceledException if either the key is not bound or is bound to an incompatible type.

    Returns the value bound to a key cast to the specified type V, or throws TestCanceledException if either the key is not bound or is bound to an incompatible type. Here's an example:

    val tempFileName: String = configMap.getRequired[String]("tempFileName")
    
    

    key

    the key with which the desired value should be associated

    classTag

    an implicit ClassTag specifying the expected type for the desired value

  51. def getWithDefault[V](key: String, default: => V)(implicit classTag: ClassTag[V]): V

    Returns the value bound to a key cast to the specified type V, returns a specified default value if the key is not bound, or throws TestCanceledException if the key exists but is if either the key is not bound or is bound to an incompatible type.

    Returns the value bound to a key cast to the specified type V, returns a specified default value if the key is not bound, or throws TestCanceledException if the key exists but is if either the key is not bound or is bound to an incompatible type. Here's an example:

    val tempFileName: String = configMap.getWithDefault[String]("tempFileName", "tmp.txt")
    
    

    key

    the key with which the desired value should be associated

    default

    a default value to return if the key is not found

    classTag

    an implicit ClassTag specifying the expected type for the desired value

  52. def groupBy[K](f: ((String, Any)) => K): Map[K, Map[String, Any]]
    Definition Classes
    IterableOps
  53. def groupMap[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  54. def groupMapReduce[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  55. def grouped(size: Int): Iterator[Map[String, Any]]
    Definition Classes
    IterableOps
  56. def hashCode(): Int
    Definition Classes
    Map → AnyRef → Any
  57. def head: (String, Any)
    Definition Classes
    IterableOps
  58. def headOption: Option[(String, Any)]
    Definition Classes
    IterableOps
  59. def init: Map[String, Any]
    Definition Classes
    IterableOps
  60. def inits: Iterator[Map[String, Any]]
    Definition Classes
    IterableOps
  61. def isDefinedAt(key: String): Boolean
    Definition Classes
    MapOps → PartialFunction
  62. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  63. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  64. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → Iterable → IterableOps
  65. def iterator: Iterator[(String, Any)]
    Definition Classes
    ConfigMap → IterableOnce
  66. def keySet: Set[String]
    Definition Classes
    MapOps → MapOps
  67. def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S
    Definition Classes
    MapOps
  68. def keys: Iterable[String]
    Definition Classes
    MapOps
  69. def keysIterator: Iterator[String]
    Definition Classes
    MapOps
  70. def knownSize: Int
    Definition Classes
    IterableOnce
  71. def last: (String, Any)
    Definition Classes
    IterableOps
  72. def lastOption: Option[(String, Any)]
    Definition Classes
    IterableOps
  73. def lazyZip[B](that: Iterable[B]): LazyZip2[(String, Any), B, ConfigMap.this.type]
    Definition Classes
    Iterable
  74. def lift: (String) => Option[Any]
    Definition Classes
    PartialFunction
  75. def map[K2, V2](f: ((String, Any)) => (K2, V2)): Map[K2, V2]
    Definition Classes
    MapOps
  76. def map[B](f: ((String, Any)) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  77. def mapFactory: MapFactory[Map]
    Definition Classes
    Map → Map → MapOps
  78. def max[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
    Definition Classes
    IterableOnceOps
  79. def maxBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
    Definition Classes
    IterableOnceOps
  80. def maxByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  81. def maxOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  82. def min[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
    Definition Classes
    IterableOnceOps
  83. def minBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
    Definition Classes
    IterableOnceOps
  84. def minByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  85. def minOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  86. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  87. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  88. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  89. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  90. def orElse[A1 <: String, B1 >: Any](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  91. def partition(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
    Definition Classes
    IterableOps
  92. def partitionMap[A1, A2](f: ((String, Any)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  93. def product[B >: (String, Any)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  94. def reduce[B >: (String, Any)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  95. def reduceLeft[B >: (String, Any)](op: (B, (String, Any)) => B): B
    Definition Classes
    IterableOnceOps
  96. def reduceLeftOption[B >: (String, Any)](op: (B, (String, Any)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  97. def reduceOption[B >: (String, Any)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  98. def reduceRight[B >: (String, Any)](op: ((String, Any), B) => B): B
    Definition Classes
    IterableOnceOps
  99. def reduceRightOption[B >: (String, Any)](op: ((String, Any), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  100. def removed(key: String): ConfigMap
    Definition Classes
    ConfigMap → MapOps
  101. def removedAll(keys: IterableOnce[String]): Map[String, Any]
    Definition Classes
    MapOps
  102. def runWith[U](action: (Any) => U): (String) => Boolean
    Definition Classes
    PartialFunction
  103. def scan[B >: (String, Any)](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  104. def scanLeft[B](z: B)(op: (B, (String, Any)) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  105. def scanRight[B](z: B)(op: ((String, Any), B) => B): Iterable[B]
    Definition Classes
    IterableOps
  106. def size: Int
    Definition Classes
    IterableOnceOps
  107. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  108. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  109. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  110. def slice(from: Int, until: Int): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  111. def sliding(size: Int, step: Int): Iterator[Map[String, Any]]
    Definition Classes
    IterableOps
  112. def sliding(size: Int): Iterator[Map[String, Any]]
    Definition Classes
    IterableOps
  113. def span(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
    Definition Classes
    IterableOps → IterableOnceOps
  114. def splitAt(n: Int): (Map[String, Any], Map[String, Any])
    Definition Classes
    IterableOps → IterableOnceOps
  115. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, Any), S]): S
    Definition Classes
    IterableOnce
  116. def sum[B >: (String, Any)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  117. def tail: Map[String, Any]
    Definition Classes
    IterableOps
  118. def tails: Iterator[Map[String, Any]]
    Definition Classes
    IterableOps
  119. def take(n: Int): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  120. def takeRight(n: Int): Map[String, Any]
    Definition Classes
    IterableOps
  121. def takeWhile(p: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  122. def tapEach[U](f: ((String, Any)) => U): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  123. def to[C1](factory: Factory[(String, Any), C1]): C1
    Definition Classes
    IterableOnceOps
  124. def toArray[B >: (String, Any)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  125. final def toBuffer[B >: (String, Any)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  126. def toIndexedSeq: IndexedSeq[(String, Any)]
    Definition Classes
    IterableOnceOps
  127. final def toIterable: ConfigMap.this.type
    Definition Classes
    Iterable → IterableOps
  128. def toList: List[(String, Any)]
    Definition Classes
    IterableOnceOps
  129. final def toMap[K2, V2](implicit ev: <:<[(String, Any), (K2, V2)]): Map[K2, V2]
    Definition Classes
    Map → IterableOnceOps
  130. def toSeq: Seq[(String, Any)]
    Definition Classes
    IterableOnceOps
  131. def toSet[B >: (String, Any)]: Set[B]
    Definition Classes
    IterableOnceOps
  132. def toString(): String
    Definition Classes
    Map → Function1 → Iterable → AnyRef → Any
  133. def toVector: Vector[(String, Any)]
    Definition Classes
    IterableOnceOps
  134. def transform[W](f: (String, Any) => W): Map[String, W]
    Definition Classes
    MapOps
  135. def transpose[B](implicit asIterable: ((String, Any)) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  136. def unapply(a: String): Option[Any]
    Definition Classes
    PartialFunction
  137. def unzip[A1, A2](implicit asPair: ((String, Any)) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  138. def unzip3[A1, A2, A3](implicit asTriple: ((String, Any)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  139. def updated[V1 >: Any](key: String, value: V1): ConfigMap
    Definition Classes
    ConfigMap → MapOps
  140. def updatedWith[V1 >: Any](key: String)(remappingFunction: (Option[Any]) => Option[V1]): Map[String, V1]
    Definition Classes
    MapOps
  141. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[Any, S]): S
    Definition Classes
    MapOps
  142. def values: Iterable[Any]
    Definition Classes
    MapOps
  143. def valuesIterator: Iterator[Any]
    Definition Classes
    MapOps
  144. def view: MapView[String, Any]
    Definition Classes
    MapOps → IterableOps
  145. def withDefault[V1 >: Any](d: (String) => V1): Map[String, V1]
    Definition Classes
    Map
  146. def withDefaultValue[V1 >: Any](d: V1): Map[String, V1]
    Definition Classes
    Map
  147. def withFilter(p: ((String, Any)) => Boolean): WithFilter[String, Any, [x]Iterable[x], [x, y]Map[x, y]]
    Definition Classes
    MapFactoryDefaults → IterableOps
  148. def zip[B](that: IterableOnce[B]): Iterable[((String, Any), B)]
    Definition Classes
    IterableOps
  149. def zipAll[A1 >: (String, Any), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  150. def zipWithIndex: Iterable[((String, Any), Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def +[V1 >: Any](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def ++:[V1 >: Any](that: IterableOnce[(String, V1)]): Map[String, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  3. def ++:[B >: (String, Any)](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  4. def -(key1: String, key2: String, keys: String*): Map[String, Any]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -- with an explicit collection

  5. final def /:[B](z: B)(op: (B, (String, Any)) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  6. final def :\[B](z: B)(op: ((String, Any), B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  7. def aggregate[B](z: => B)(seqop: (B, (String, Any)) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  8. def companion: IterableFactory[[_]Iterable[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  9. final def copyToBuffer[B >: (String, Any)](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  10. def filterKeys(p: (String) => Boolean): MapView[String, Any]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).

  11. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  12. def mapValues[W](f: (Any) => W): MapView[String, W]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).

  13. final def repr: Map[String, Any]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  14. def seq: ConfigMap.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  15. final def toIterator: Iterator[(String, Any)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  16. final def toStream: Stream[(String, Any)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  17. final def toTraversable: Traversable[(String, Any)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  18. def view(from: Int, until: Int): View[(String, Any)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)