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 ofReporter
s viaRunStarting
events - the
run
method ofSuite
- the
runNestedSuites
method ofSuite
- the
runTests
method ofSuite
- the
runTest
method ofSuite
- the
withFixture(NoArgTest)
method ofSuite
- the
withFixture(OneArgTest)
method offixture.Suite
- the
beforeEach(TestData)
method ofBeforeAndAfterEachTestData
- the
afterEach(TestData)
method ofBeforeAndAfterEachTestData
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
- Alphabetic
- By Inheritance
- ConfigMap
- Serializable
- Map
- MapOps
- Map
- Equals
- MapFactoryDefaults
- MapOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ConfigMap(underlying: Map[String, Any])
- underlying
an immutable
Map
that holds the key/value pairs contained in thisConfigMap
Type Members
- trait GenKeySet extends AnyRef
- Attributes
- protected
- Definition Classes
- MapOps
- class ImmutableKeySet extends AbstractSet[K] with scala.collection.immutable.MapOps.GenKeySet with DefaultSerializable
- Attributes
- protected
- Definition Classes
- MapOps
- class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
- Attributes
- protected
- Definition Classes
- MapOps
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +[A >: Any](kv: (String, A)): ConfigMap
- Definition Classes
- ConfigMap → MapOps → MapOps
- def ++[V2 >: Any](xs: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- final def ++[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def -(key: String): Map[String, Any]
- Definition Classes
- MapOps
- Annotations
- @inline()
- final def --(keys: IterableOnce[String]): Map[String, Any]
- Definition Classes
- MapOps → MapOps
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapOps → IterableOnceOps
- final def addString(b: StringBuilder): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def andThen[C](k: PartialFunction[Any, C]): PartialFunction[String, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (Any) => C): PartialFunction[String, C]
- Definition Classes
- PartialFunction → Function1
- def apply(key: String): Any
- Definition Classes
- MapOps → Function1
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def applyOrElse[K1 <: String, V1 >: Any](x: K1, default: (K1) => V1): V1
- Definition Classes
- MapOps → PartialFunction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- Map → Equals
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def coll: ConfigMap.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[K2, V2](pf: PartialFunction[(String, Any), (K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def collect[B](pf: PartialFunction[(String, Any), B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
- Definition Classes
- IterableOnceOps
- def compose[R](k: PartialFunction[R, String]): PartialFunction[R, Any]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => String): (A) => Any
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat[V2 >: Any](suffix: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- def concat[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def contains(key: String): Boolean
- Definition Classes
- MapOps
- def copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: (String, Any)](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: ((String, Any), B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: ((String, Any)) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def default(key: String): Any
- Definition Classes
- MapOps
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def drop(n: Int): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Map[String, Any]
- Definition Classes
- IterableOps
- def dropWhile(p: ((String, Any)) => Boolean): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[String, Any]
- Definition Classes
- PartialFunction
- def empty: ConfigMap
- Definition Classes
- ConfigMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- Map → Equals → AnyRef → Any
- def exists(p: ((String, Any)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: ((String, Any)) => Boolean): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: ((String, Any)) => Boolean): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: ((String, Any)) => Boolean): Option[(String, Any)]
- Definition Classes
- IterableOnceOps
- def flatMap[K2, V2](f: ((String, Any)) => IterableOnce[(K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def flatMap[B](f: ((String, Any)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: ((String, Any)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, (String, Any)) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: ((String, Any), B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: ((String, Any)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: ((String, Any)) => U): Unit
- Definition Classes
- IterableOnceOps
- def foreachEntry[U](f: (String, Any) => U): Unit
- Definition Classes
- MapOps
- def fromSpecific(coll: IterableOnce[(String, Any)]): Map[String, Any]
- Attributes
- protected
- Definition Classes
- MapFactoryDefaults → IterableOps
- def get(key: String): Option[Any]
- Definition Classes
- ConfigMap → MapOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
, returnsNone
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
, returnsNone
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
- def getOrElse[V1 >: Any](key: String, default: => V1): V1
- Definition Classes
- MapOps
- 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 throwsTestCanceledException
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 throwsTestCanceledException
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
- 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
- def groupBy[K](f: ((String, Any)) => K): Map[K, Map[String, Any]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Map → AnyRef → Any
- def head: (String, Any)
- Definition Classes
- IterableOps
- def headOption: Option[(String, Any)]
- Definition Classes
- IterableOps
- def init: Map[String, Any]
- Definition Classes
- IterableOps
- def inits: Iterator[Map[String, Any]]
- Definition Classes
- IterableOps
- def isDefinedAt(key: String): Boolean
- Definition Classes
- MapOps → PartialFunction
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → Iterable → IterableOps
- def iterator: Iterator[(String, Any)]
- Definition Classes
- ConfigMap → IterableOnce
- def keySet: Set[String]
- Definition Classes
- MapOps → MapOps
- def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S
- Definition Classes
- MapOps
- def keys: Iterable[String]
- Definition Classes
- MapOps
- def keysIterator: Iterator[String]
- Definition Classes
- MapOps
- def knownSize: Int
- Definition Classes
- IterableOnce
- def last: (String, Any)
- Definition Classes
- IterableOps
- def lastOption: Option[(String, Any)]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[(String, Any), B, ConfigMap.this.type]
- Definition Classes
- Iterable
- def lift: (String) => Option[Any]
- Definition Classes
- PartialFunction
- def map[K2, V2](f: ((String, Any)) => (K2, V2)): Map[K2, V2]
- Definition Classes
- MapOps
- def map[B](f: ((String, Any)) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def mapFactory: MapFactory[Map]
- Definition Classes
- Map → Map → MapOps
- final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): Map[K2, V2]
- Attributes
- protected
- Definition Classes
- MapOps
- Annotations
- @inline()
- def max[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
- Definition Classes
- IterableOnceOps
- def min[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
- Definition Classes
- IterableOnceOps
- def minOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[(String, Any), Map[String, Any]]
- Attributes
- protected
- Definition Classes
- MapFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[A1 <: String, B1 >: Any](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def partition(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: ((String, Any)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def product[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: (String, Any)](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: (String, Any)](op: (B, (String, Any)) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: (String, Any)](op: (B, (String, Any)) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: (String, Any)](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: (String, Any)](op: ((String, Any), B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: (String, Any)](op: ((String, Any), B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def removed(key: String): ConfigMap
- Definition Classes
- ConfigMap → MapOps
- def removedAll(keys: IterableOnce[String]): Map[String, Any]
- Definition Classes
- MapOps
- def reversed: Iterable[(String, Any)]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def runWith[U](action: (Any) => U): (String) => Boolean
- Definition Classes
- PartialFunction
- def scan[B >: (String, Any)](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, (String, Any)) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: ((String, Any), B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableOps
- def span(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Map[String, Any], Map[String, Any])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, Any), S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Map → Iterable
- def sum[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Map[String, Any]
- Definition Classes
- IterableOps
- def tails: Iterator[Map[String, Any]]
- Definition Classes
- IterableOps
- def take(n: Int): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Map[String, Any]
- Definition Classes
- IterableOps
- def takeWhile(p: ((String, Any)) => Boolean): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: ((String, Any)) => U): Map[String, Any]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[(String, Any), C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: (String, Any)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: (String, Any)]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[(String, Any)]
- Definition Classes
- IterableOnceOps
- final def toIterable: ConfigMap.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: List[(String, Any)]
- Definition Classes
- IterableOnceOps
- final def toMap[K2, V2](implicit ev: <:<[(String, Any), (K2, V2)]): Map[K2, V2]
- Definition Classes
- Map → IterableOnceOps
- def toSeq: Seq[(String, Any)]
- Definition Classes
- IterableOnceOps
- def toSet[B >: (String, Any)]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Map → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[(String, Any)]
- Definition Classes
- IterableOnceOps
- def transform[W](f: (String, Any) => W): Map[String, W]
- Definition Classes
- MapOps
- def transpose[B](implicit asIterable: ((String, Any)) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unapply(a: String): Option[Any]
- Definition Classes
- PartialFunction
- def unzip[A1, A2](implicit asPair: ((String, Any)) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: ((String, Any)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def updated[V1 >: Any](key: String, value: V1): ConfigMap
- Definition Classes
- ConfigMap → MapOps
- def updatedWith[V1 >: Any](key: String)(remappingFunction: (Option[Any]) => Option[V1]): Map[String, V1]
- Definition Classes
- MapOps
- def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[Any, S]): S
- Definition Classes
- MapOps
- def values: Iterable[Any]
- Definition Classes
- MapOps
- def valuesIterator: Iterator[Any]
- Definition Classes
- MapOps
- def view: MapView[String, Any]
- Definition Classes
- MapOps → IterableOps
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withDefault[V1 >: Any](d: (String) => V1): Map[String, V1]
- Definition Classes
- Map
- def withDefaultValue[V1 >: Any](d: V1): Map[String, V1]
- Definition Classes
- Map
- def withFilter(p: ((String, Any)) => Boolean): WithFilter[String, Any, [x]Iterable[x], [x, y]Map[x, y]]
- Definition Classes
- MapFactoryDefaults → IterableOps
- def zip[B](that: IterableOnce[B]): Iterable[((String, Any), B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: (String, Any), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[((String, Any), Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- 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
- 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
- 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
- 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
- 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 /:
- 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 :\
- 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. UsefoldLeft(z)(seqop)
instead.
- def companion: IterableFactory[[_]Iterable[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- 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
- 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).
- 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)
- 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).
- 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
- def seq: ConfigMap.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterator: Iterator[(String, Any)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[(String, Any)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[(String, Any)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- 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)