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

Type Members

  1. trait GenKeySet extends AnyRef
    Attributes
    protected
    Definition Classes
    MapOps
  2. class ImmutableKeySet extends AbstractSet[K] with scala.collection.immutable.MapOps.GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps
  3. class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +[A >: Any](kv: (String, A)): ConfigMap
    Definition Classes
    ConfigMap → MapOps → MapOps
  4. def ++[V2 >: Any](xs: IterableOnce[(String, V2)]): Map[String, V2]
    Definition Classes
    MapOps
  5. final def ++[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. final def -(key: String): Map[String, Any]
    Definition Classes
    MapOps
    Annotations
    @inline()
  7. final def --(keys: IterableOnce[String]): Map[String, Any]
    Definition Classes
    MapOps → MapOps
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    MapOps → IterableOnceOps
  10. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  11. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. def andThen[C](k: PartialFunction[Any, C]): PartialFunction[String, C]
    Definition Classes
    PartialFunction
  13. def andThen[C](k: (Any) => C): PartialFunction[String, C]
    Definition Classes
    PartialFunction → Function1
  14. def apply(key: String): Any
    Definition Classes
    MapOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  15. def applyOrElse[K1 <: String, V1 >: Any](x: K1, default: (K1) => V1): V1
    Definition Classes
    MapOps → PartialFunction
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def canEqual(that: Any): Boolean
    Definition Classes
    Map → Equals
  18. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. final def coll: ConfigMap.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  21. def collect[K2, V2](pf: PartialFunction[(String, Any), (K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  22. def collect[B](pf: PartialFunction[(String, Any), B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  23. def collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
    Definition Classes
    IterableOnceOps
  24. def compose[R](k: PartialFunction[R, String]): PartialFunction[R, Any]
    Definition Classes
    PartialFunction
  25. def compose[A](g: (A) => String): (A) => Any
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  26. def concat[V2 >: Any](suffix: IterableOnce[(String, V2)]): Map[String, V2]
    Definition Classes
    MapOps
  27. def concat[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  28. def contains(key: String): Boolean
    Definition Classes
    MapOps
  29. def copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  30. def copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  31. def copyToArray[B >: (String, Any)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  32. def corresponds[B](that: IterableOnce[B])(p: ((String, Any), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  33. def count(p: ((String, Any)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  34. def default(key: String): Any
    Definition Classes
    MapOps
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  35. def drop(n: Int): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def dropRight(n: Int): Map[String, Any]
    Definition Classes
    IterableOps
  37. def dropWhile(p: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  38. def elementWise: ElementWiseExtractor[String, Any]
    Definition Classes
    PartialFunction
  39. def empty: ConfigMap
    Definition Classes
    ConfigMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equals(o: Any): Boolean
    Definition Classes
    Map → Equals → AnyRef → Any
  42. def exists(p: ((String, Any)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  43. def filter(pred: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  44. def filterNot(pred: ((String, Any)) => Boolean): Map[String, Any]
    Definition Classes
    IterableOps → IterableOnceOps
  45. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  46. def find(p: ((String, Any)) => Boolean): Option[(String, Any)]
    Definition Classes
    IterableOnceOps
  47. def flatMap[K2, V2](f: ((String, Any)) => IterableOnce[(K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  48. def flatMap[B](f: ((String, Any)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  49. def flatten[B](implicit asIterable: ((String, Any)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  50. def fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  51. def foldLeft[B](z: B)(op: (B, (String, Any)) => B): B
    Definition Classes
    IterableOnceOps
  52. def foldRight[B](z: B)(op: ((String, Any), B) => B): B
    Definition Classes
    IterableOnceOps
  53. def forall(p: ((String, Any)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  54. def foreach[U](f: ((String, Any)) => U): Unit
    Definition Classes
    IterableOnceOps
  55. def foreachEntry[U](f: (String, Any) => U): Unit
    Definition Classes
    MapOps
  56. def fromSpecific(coll: IterableOnce[(String, Any)]): Map[String, Any]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  57. def get(key: String): Option[Any]
    Definition Classes
    ConfigMap → MapOps
  58. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  59. 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

  60. def getOrElse[V1 >: Any](key: String, default: => V1): V1
    Definition Classes
    MapOps
  61. 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

  62. 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

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

Inherited from Serializable

Inherited from Map[String, Any]

Inherited from MapOps[String, Any, Map, Map[String, Any]]

Inherited from Map[String, Any]

Inherited from Equals

Inherited from MapFactoryDefaults[String, Any, [x, y]Map[x, y], [x]Iterable[x]]

Inherited from MapOps[String, Any, [_, _]Map[_, _], Map[String, Any]]

Inherited from PartialFunction[String, Any]

Inherited from (String) => Any

Inherited from Iterable[(String, Any)]

Inherited from Iterable[(String, Any)]

Inherited from IterableFactoryDefaults[(String, Any), [x]Iterable[x]]

Inherited from IterableOps[(String, Any), [_]Iterable[_], Map[String, Any]]

Inherited from IterableOnceOps[(String, Any), [_]Iterable[_], Map[String, Any]]

Inherited from IterableOnce[(String, Any)]

Inherited from AnyRef

Inherited from Any

Ungrouped