ConfigMap

class ConfigMap(underlying: Map[String, Any]) 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")
Value parameters:
underlying

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

Companion:
object
trait Serializable
trait Map[String, Any]
trait MapOps[String, Any, Map, Map[String, Any]]
trait Map[String, Any]
trait Equals
trait MapFactoryDefaults[String, Any, Map, Iterable]
trait MapOps[String, Any, Map, Map[String, Any]]
trait PartialFunction[String, Any]
trait String => Any
trait Iterable[(String, Any)]
trait Iterable[(String, Any)]
trait IterableFactoryDefaults[(String, Any), Iterable]
trait IterableOps[(String, Any), Iterable, Map[String, Any]]
trait IterableOnceOps[(String, Any), Iterable, Map[String, Any]]
trait IterableOnce[(String, Any)]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

protected class ImmutableKeySet
Inherited from:
MapOps

Value members

Concrete methods

override def +[A = Any](kv: (String, A)): ConfigMap
Definition Classes
MapOps -> MapOps
override def empty: ConfigMap
Definition Classes
MapFactoryDefaults -> IterableFactoryDefaults -> IterableOps
def get(key: String): Option[Any]
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. Here's an example:

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")
Value parameters:
classTag

an implicit ClassTag specifying the expected type for the desired value

key

the key with which the desired value should be associated

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. Here's an example:

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")
Value parameters:
classTag

an implicit ClassTag specifying the expected type for the desired value

key

the key with which the desired value should be associated

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. Here's an example:

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")
Value parameters:
classTag

an implicit ClassTag specifying the expected type for the desired value

default

a default value to return if the key is not found

key

the key with which the desired value should be associated

def iterator: Iterator[(String, Any)]
def removed(key: String): ConfigMap
def updated[V1 = Any](key: String, value: V1): ConfigMap

Inherited methods

@inline
final def ++[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def ++[V2 >: Any](xs: IterableOnce[(String, V2)]): Map[String, V2]
Inherited from:
MapOps
@inline
final def -(key: String): Map[String, Any]
Inherited from:
MapOps
@inline
final override def --(keys: IterableOnce[String]): Map[String, Any]
Definition Classes
MapOps -> MapOps
Inherited from:
MapOps
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from:
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from:
IterableOnceOps
override def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
Definition Classes
MapOps -> IterableOnceOps
Inherited from:
MapOps
def andThen[C](k: PartialFunction[Any, C]): PartialFunction[String, C]
Inherited from:
PartialFunction
override def andThen[C](k: Any => C): PartialFunction[String, C]
Definition Classes
PartialFunction -> Function1
Inherited from:
PartialFunction
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def apply(key: String): Any
Inherited from:
MapOps
override def applyOrElse[K1 <: String, V1 >: Any](x: K1, default: K1 => V1): V1
Definition Classes
MapOps -> PartialFunction
Inherited from:
MapOps
def canEqual(that: Any): Boolean
Inherited from:
Map
def collect[B](pf: PartialFunction[(String, Any), B]): Iterable[B]
Inherited from:
IterableOps
def collect[K2, V2](pf: PartialFunction[(String, Any), (K2, V2)]): Map[K2, V2]
Inherited from:
MapOps
def collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
Inherited from:
IterableOnceOps
def compose[R](k: PartialFunction[R, String]): PartialFunction[R, Any]
Inherited from:
PartialFunction
@unspecialized
def compose[A](g: A => String): A => Any
Inherited from:
Function1
def concat[B >: (String, Any)](suffix: IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def concat[V2 >: Any](suffix: IterableOnce[(String, V2)]): Map[String, V2]
Inherited from:
MapOps
def contains(key: String): Boolean
Inherited from:
MapOps
def copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: (String, Any)](xs: Array[B]): Int
Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((String, Any), B) => Boolean): Boolean
Inherited from:
IterableOnceOps
def count(p: ((String, Any)) => Boolean): Int
Inherited from:
IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def default(key: String): Any
Inherited from:
MapOps
def drop(n: Int): Map[String, Any]
Inherited from:
IterableOps
def dropRight(n: Int): Map[String, Any]
Inherited from:
IterableOps
def dropWhile(p: ((String, Any)) => Boolean): Map[String, Any]
Inherited from:
IterableOps
def elementWise: ElementWiseExtractor[String, Any]
Inherited from:
PartialFunction
override def equals(o: Any): Boolean
Definition Classes
Map -> Equals -> Any
Inherited from:
Map
def exists(p: ((String, Any)) => Boolean): Boolean
Inherited from:
IterableOnceOps
def filter(pred: ((String, Any)) => Boolean): Map[String, Any]
Inherited from:
IterableOps
def filterNot(pred: ((String, Any)) => Boolean): Map[String, Any]
Inherited from:
IterableOps
def find(p: ((String, Any)) => Boolean): Option[(String, Any)]
Inherited from:
IterableOnceOps
def flatMap[B](f: ((String, Any)) => IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def flatMap[K2, V2](f: ((String, Any)) => IterableOnce[(K2, V2)]): Map[K2, V2]
Inherited from:
MapOps
def flatten[B](implicit asIterable: ((String, Any)) => IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) => A1): A1
Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (String, Any)) => B): B
Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: ((String, Any), B) => B): B
Inherited from:
IterableOnceOps
def forall(p: ((String, Any)) => Boolean): Boolean
Inherited from:
IterableOnceOps
def foreach[U](f: ((String, Any)) => U): Unit
Inherited from:
IterableOnceOps
def foreachEntry[U](f: (String, Any) => U): Unit
Inherited from:
MapOps
override protected def fromSpecific(coll: IterableOnce[(String, Any)]): Map[String, Any]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
def getOrElse[V1 >: Any](key: String, default: => V1): V1
Inherited from:
MapOps
def groupBy[K](f: ((String, Any)) => K): Map[K, Map[String, Any]]
Inherited from:
IterableOps
def groupMap[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B): Map[K, Iterable[B]]
Inherited from:
IterableOps
def groupMapReduce[K, B](key: ((String, Any)) => K)(f: ((String, Any)) => B)(reduce: (B, B) => B): Map[K, B]
Inherited from:
IterableOps
def grouped(size: Int): Iterator[Map[String, Any]]
Inherited from:
IterableOps
override def hashCode(): Int
Definition Classes
Map -> Any
Inherited from:
Map
def head: (String, Any)
Inherited from:
IterableOps
def headOption: Option[(String, Any)]
Inherited from:
IterableOps
def init: Map[String, Any]
Inherited from:
IterableOps
def inits: Iterator[Map[String, Any]]
Inherited from:
IterableOps
def isDefinedAt(key: String): Boolean
Inherited from:
MapOps
def isEmpty: Boolean
Inherited from:
IterableOnceOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: IterableFactory[Iterable]
Definition Classes
Iterable -> Iterable -> IterableOps
Inherited from:
Iterable
override def keySet: Set[String]
Definition Classes
MapOps -> MapOps
Inherited from:
MapOps
def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S
Inherited from:
MapOps
def keys: Iterable[String]
Inherited from:
MapOps
def keysIterator: Iterator[String]
Inherited from:
MapOps
def knownSize: Int
Inherited from:
IterableOnce
def last: (String, Any)
Inherited from:
IterableOps
def lastOption: Option[(String, Any)]
Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[(String, Any), B, ConfigMap]
Inherited from:
Iterable
def lift: String => Option[Any]
Inherited from:
PartialFunction
def map[B](f: ((String, Any)) => B): Iterable[B]
Inherited from:
IterableOps
def map[K2, V2](f: ((String, Any)) => (K2, V2)): Map[K2, V2]
Inherited from:
MapOps
override def mapFactory: MapFactory[Map]
Definition Classes
Map -> Map -> MapOps
Inherited from:
Map
def max[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
Inherited from:
IterableOnceOps
def maxBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
Inherited from:
IterableOnceOps
def maxByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
Inherited from:
IterableOnceOps
def maxOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
Inherited from:
IterableOnceOps
def min[B >: (String, Any)](implicit ord: Ordering[B]): (String, Any)
Inherited from:
IterableOnceOps
def minBy[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): (String, Any)
Inherited from:
IterableOnceOps
def minByOption[B](f: ((String, Any)) => B)(implicit cmp: Ordering[B]): Option[(String, Any)]
Inherited from:
IterableOnceOps
def minOption[B >: (String, Any)](implicit ord: Ordering[B]): Option[(String, Any)]
Inherited from:
IterableOnceOps
@inline
final def mkString: String
Inherited from:
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from:
IterableOnceOps
override protected def newSpecificBuilder: Builder[(String, Any), Map[String, Any]]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
def nonEmpty: Boolean
Inherited from:
IterableOnceOps
def orElse[A1 <: String, B1 >: Any](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from:
PartialFunction
def partition(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
Inherited from:
IterableOps
def partitionMap[A1, A2](f: ((String, Any)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Inherited from:
IterableOps
def product[B >: (String, Any)](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def reduce[B >: (String, Any)](op: (B, B) => B): B
Inherited from:
IterableOnceOps
def reduceLeft[B >: (String, Any)](op: (B, (String, Any)) => B): B
Inherited from:
IterableOnceOps
def reduceLeftOption[B >: (String, Any)](op: (B, (String, Any)) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceOption[B >: (String, Any)](op: (B, B) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceRight[B >: (String, Any)](op: ((String, Any), B) => B): B
Inherited from:
IterableOnceOps
def reduceRightOption[B >: (String, Any)](op: ((String, Any), B) => B): Option[B]
Inherited from:
IterableOnceOps
def removedAll(keys: IterableOnce[String]): Map[String, Any]
Inherited from:
MapOps
protected def reversed: Iterable[(String, Any)]
Inherited from:
IterableOnceOps
def runWith[U](action: Any => U): String => Boolean
Inherited from:
PartialFunction
def scan[B >: (String, Any)](z: B)(op: (B, B) => B): Iterable[B]
Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, (String, Any)) => B): Iterable[B]
Inherited from:
IterableOps
def scanRight[B](z: B)(op: ((String, Any), B) => B): Iterable[B]
Inherited from:
IterableOps
def size: Int
Inherited from:
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int
Inherited from:
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from:
IterableOps
@inline
final def sizeIs: SizeCompareOps
Inherited from:
IterableOps
def slice(from: Int, until: Int): Map[String, Any]
Inherited from:
IterableOps
def sliding(size: Int, step: Int): Iterator[Map[String, Any]]
Inherited from:
IterableOps
def sliding(size: Int): Iterator[Map[String, Any]]
Inherited from:
IterableOps
def span(p: ((String, Any)) => Boolean): (Map[String, Any], Map[String, Any])
Inherited from:
IterableOps
override def splitAt(n: Int): (Map[String, Any], Map[String, Any])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, Any), S]): S
Inherited from:
IterableOnce
def sum[B >: (String, Any)](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def tail: Map[String, Any]
Inherited from:
IterableOps
def tails: Iterator[Map[String, Any]]
Inherited from:
IterableOps
def take(n: Int): Map[String, Any]
Inherited from:
IterableOps
def takeRight(n: Int): Map[String, Any]
Inherited from:
IterableOps
def takeWhile(p: ((String, Any)) => Boolean): Map[String, Any]
Inherited from:
IterableOps
override def tapEach[U](f: ((String, Any)) => U): Map[String, Any]
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def to[C1](factory: Factory[(String, Any), C1]): C1
Inherited from:
IterableOnceOps
def toArray[B >: (String, Any) : ClassTag]: Array[B]
Inherited from:
IterableOnceOps
@inline
final def toBuffer[B >: (String, Any)]: Buffer[B]
Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[(String, Any)]
Inherited from:
IterableOnceOps
def toList: List[(String, Any)]
Inherited from:
IterableOnceOps
final override def toMap[K2, V2](implicit ev: (String, Any) <:< (K2, V2)): Map[K2, V2]
Definition Classes
Map -> IterableOnceOps
Inherited from:
Map
def toSeq: Seq[(String, Any)]
Inherited from:
IterableOnceOps
def toSet[B >: (String, Any)]: Set[B]
Inherited from:
IterableOnceOps
override def toString(): String
Definition Classes
Map -> Function1 -> Iterable -> Any
Inherited from:
Map
def toVector: Vector[(String, Any)]
Inherited from:
IterableOnceOps
def transform[W](f: (String, Any) => W): Map[String, W]
Inherited from:
MapOps
def transpose[B](implicit asIterable: ((String, Any)) => Iterable[B]): Iterable[Iterable[B]]
Inherited from:
IterableOps
def unapply(a: String): Option[Any]
Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: ((String, Any)) => (A1, A2)): (Iterable[A1], Iterable[A2])
Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: ((String, Any)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Inherited from:
IterableOps
def updatedWith[V1 >: Any](key: String)(remappingFunction: Option[Any] => Option[V1]): Map[String, V1]
Inherited from:
MapOps
def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[Any, S]): S
Inherited from:
MapOps
def values: Iterable[Any]
Inherited from:
MapOps
def valuesIterator: Iterator[Any]
Inherited from:
MapOps
override def view: MapView[String, Any]
Definition Classes
MapOps -> IterableOps
Inherited from:
MapOps
def withDefault[V1 >: Any](d: String => V1): Map[String, V1]
Inherited from:
Map
def withDefaultValue[V1 >: Any](d: V1): Map[String, V1]
Inherited from:
Map
override def withFilter(p: ((String, Any)) => Boolean): WithFilter[String, Any, Iterable, Map]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
def zip[B](that: IterableOnce[B]): Iterable[((String, Any), B)]
Inherited from:
IterableOps
def zipAll[A1 >: (String, Any), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from:
IterableOps
def zipWithIndex: Iterable[((String, Any), Int)]
Inherited from:
IterableOps

Deprecated and Inherited methods

@deprecated(message = "Use ++ with an explicit collection argument instead of + with varargs", since = "2.13.0")
def +[V1 >: Any](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]
Deprecated
[Since version 2.13.0] Use ++ with an explicit collection argument instead of + with varargs
Inherited from:
MapOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
def ++:[B >: (String, Any)](that: IterableOnce[B]): Iterable[B]
Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
IterableOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
def ++:[V1 >: Any](that: IterableOnce[(String, V1)]): Map[String, V1]
Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
MapOps
@deprecated(message = "Use -- with an explicit collection", since = "2.13.0")
def -(key1: String, key2: String, keys: String*): Map[String, Any]
Deprecated
[Since version 2.13.0] Use -- with an explicit collection
Inherited from:
MapOps
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
final def /:[B](z: B)(op: (B, (String, Any)) => B): B
Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
final def :\[B](z: B)(op: ((String, Any), B) => B): B
Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
def aggregate[B](z: => B)(seqop: (B, (String, Any)) => B, combop: (B, B) => B): B
Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
def companion: IterableFactory[Iterable]
Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
final def copyToBuffer[B >: (String, Any)](dest: Buffer[B]): Unit
Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
@deprecated(message = "Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).", since = "2.13.0")
def filterKeys(p: String => Boolean): MapView[String, Any]
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).
Inherited from:
MapOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
@deprecated(message = "Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).", since = "2.13.0")
def mapValues[W](f: Any => W): MapView[String, W]
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).
Inherited from:
MapOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
final def repr: Map[String, Any]
Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
final def toIterator: Iterator[(String, Any)]
Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
final def toStream: Stream[(String, Any)]
Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
final def toTraversable: Iterable[(String, Any)]
Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
@deprecated(message = "Use .view.slice(from, until) instead of .view(from, until)", since = "2.13.0")
def view(from: Int, until: Int): View[(String, Any)]
Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps