IdMap

com.netflix.atlas.core.util.IdMap
final case class IdMap(id: Id) extends Map[String, String]

Wraps a Spectator Id so it can be used as Scala Map. Modifications will result in a different map type being returned.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Map[String, String]
trait MapOps[String, String, Map, Map[String, String]]
trait Map[String, String]
trait Equals
trait MapFactoryDefaults[String, String, Map, Iterable]
trait MapOps[String, String, Map, Map[String, String]]
trait PartialFunction[String, String]
trait String => String
trait Iterable[(String, String)]
trait Iterable[(String, String)]
trait IterableFactoryDefaults[(String, String), Iterable]
trait IterableOps[(String, String), Iterable, Map[String, String]]
trait IterableOnceOps[(String, String), Iterable, Map[String, String]]
trait IterableOnce[(String, String)]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def foreachEntry[U](f: (String, String) => U): Unit

Attributes

Definition Classes
MapOps
override def get(key: String): Option[String]

Attributes

Definition Classes
MapOps
override def iterator: Iterator[(String, String)]

Attributes

Definition Classes
IterableOnce
override def removed(key: String): Map[String, String]

Attributes

Definition Classes
MapOps
override def updated[V1 >: String](key: String, value: V1): Map[String, V1]

Attributes

Definition Classes
MapOps

Inherited methods

override def +[V1 >: String](kv: (String, V1)): Map[String, V1]

Attributes

Definition Classes
MapOps -> MapOps
Inherited from:
MapOps
final def ++[B >: (String, String)](suffix: IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def ++[V2 >: String](xs: IterableOnce[(String, V2)]): Map[String, V2]

Attributes

Inherited from:
MapOps
final def -(key: String): Map[String, String]

Attributes

Inherited from:
MapOps
final override def --(keys: IterableOnce[String]): Map[String, String]

Attributes

Definition Classes
MapOps -> MapOps
Inherited from:
MapOps
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
override def addString(sb: StringBuilder, start: String, sep: String, end: String): sb.type

Attributes

Definition Classes
MapOps -> IterableOnceOps
Inherited from:
MapOps
def andThen[C](k: PartialFunction[String, C]): PartialFunction[String, C]

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: String => C): PartialFunction[String, C]

Attributes

Definition Classes
PartialFunction -> Function1
Inherited from:
PartialFunction
def apply(key: String): String

Attributes

Inherited from:
MapOps
override def applyOrElse[K1 <: String, V1 >: String](x: K1, default: K1 => V1): V1

Attributes

Definition Classes
MapOps -> PartialFunction
Inherited from:
MapOps
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Map
def collect[B](pf: PartialFunction[(String, String), B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def collect[K2, V2](pf: PartialFunction[(String, String), (K2, V2)]): Map[K2, V2]

Attributes

Inherited from:
MapOps
def collectFirst[B](pf: PartialFunction[(String, String), B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def compose[R](k: PartialFunction[R, String]): PartialFunction[R, String]

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => String): A => String

Attributes

Inherited from:
Function1
def concat[B >: (String, String)](suffix: IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def concat[V2 >: String](suffix: IterableOnce[(String, V2)]): Map[String, V2]

Attributes

Inherited from:
MapOps
def contains(key: String): Boolean

Attributes

Inherited from:
MapOps
def copyToArray[B >: (String, String)](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: (String, String)](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: (String, String)](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((String, String), B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: ((String, String)) => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def default(key: String): String

Attributes

Inherited from:
MapOps
def drop(n: Int): Map[String, String]

Attributes

Inherited from:
IterableOps
def dropRight(n: Int): Map[String, String]

Attributes

Inherited from:
IterableOps
def dropWhile(p: ((String, String)) => Boolean): Map[String, String]

Attributes

Inherited from:
IterableOps
def elementWise: ElementWiseExtractor[String, String]

Attributes

Inherited from:
PartialFunction
override def empty: Map[String, String]

Attributes

Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Map -> Equals -> Any
Inherited from:
Map
def exists(p: ((String, String)) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(pred: ((String, String)) => Boolean): Map[String, String]

Attributes

Inherited from:
IterableOps
def filterNot(pred: ((String, String)) => Boolean): Map[String, String]

Attributes

Inherited from:
IterableOps
def find(p: ((String, String)) => Boolean): Option[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: ((String, String)) => IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def flatMap[K2, V2](f: ((String, String)) => IterableOnce[(K2, V2)]): Map[K2, V2]

Attributes

Inherited from:
MapOps
def flatten[B](implicit asIterable: ((String, String)) => IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def fold[A1 >: (String, String)](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (String, String)) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: ((String, String), B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: ((String, String)) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: ((String, String)) => U): Unit

Attributes

Inherited from:
IterableOnceOps
override protected def fromSpecific(coll: IterableOnce[(String, String)]): Map[String, String]

Attributes

Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
def getOrElse[V1 >: String](key: String, default: => V1): V1

Attributes

Inherited from:
MapOps
def groupBy[K](f: ((String, String)) => K): Map[K, Map[String, String]]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: ((String, String)) => K)(f: ((String, String)) => B): Map[K, Iterable[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: ((String, String)) => K)(f: ((String, String)) => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps
def grouped(size: Int): Iterator[Map[String, String]]

Attributes

Inherited from:
IterableOps
override def hashCode(): Int

Calculates a hash code value for the object.

Calculates a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Map -> Any
Inherited from:
Map
def head: (String, String)

Attributes

Inherited from:
IterableOps
def headOption: Option[(String, String)]

Attributes

Inherited from:
IterableOps
def init: Map[String, String]

Attributes

Inherited from:
IterableOps
def inits: Iterator[Map[String, String]]

Attributes

Inherited from:
IterableOps
def isDefinedAt(key: String): Boolean

Attributes

Inherited from:
MapOps
def isEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
override def isTraversableAgain: Boolean

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: IterableFactory[Iterable]

Attributes

Definition Classes
Iterable -> Iterable -> IterableOps
Inherited from:
Iterable
override def keySet: Set[String]

Attributes

Definition Classes
MapOps -> MapOps
Inherited from:
MapOps
def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S

Attributes

Inherited from:
MapOps
def keys: Iterable[String]

Attributes

Inherited from:
MapOps
def keysIterator: Iterator[String]

Attributes

Inherited from:
MapOps
def knownSize: Int

Attributes

Inherited from:
IterableOnce
def last: (String, String)

Attributes

Inherited from:
IterableOps
def lastOption: Option[(String, String)]

Attributes

Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[(String, String), B, Iterable.this.type]

Attributes

Inherited from:
Iterable
def lift: String => Option[String]

Attributes

Inherited from:
PartialFunction
def map[B](f: ((String, String)) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def map[K2, V2](f: ((String, String)) => (K2, V2)): Map[K2, V2]

Attributes

Inherited from:
MapOps
override def mapFactory: MapFactory[Map]

Attributes

Definition Classes
Map -> Map -> MapOps
Inherited from:
Map
def max[B >: (String, String)](implicit ord: Ordering[B]): (String, String)

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: ((String, String)) => B)(implicit ord: Ordering[B]): (String, String)

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: ((String, String)) => B)(implicit ord: Ordering[B]): Option[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def min[B >: (String, String)](implicit ord: Ordering[B]): (String, String)

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: ((String, String)) => B)(implicit ord: Ordering[B]): (String, String)

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: ((String, String)) => B)(implicit ord: Ordering[B]): Option[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
override protected def newSpecificBuilder: Builder[(String, String), Map[String, String]]

Attributes

Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def orElse[A1 <: String, B1 >: String](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
def partition(p: ((String, String)) => Boolean): (Map[String, String], Map[String, String])

Attributes

Inherited from:
IterableOps
def partitionMap[A1, A2](f: ((String, String)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])

Attributes

Inherited from:
IterableOps
def product[B >: (String, String)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def reduce[B >: (String, String)](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: (String, String)](op: (B, (String, String)) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: (String, String)](op: (B, (String, String)) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: (String, String)](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: (String, String)](op: ((String, String), B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: (String, String)](op: ((String, String), B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def removedAll(keys: IterableOnce[String]): Map[String, String]

Attributes

Inherited from:
MapOps
protected def reversed: Iterable[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def runWith[U](action: String => U): String => Boolean

Attributes

Inherited from:
PartialFunction
def scan[B >: (String, String)](z: B)(op: (B, B) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, (String, String)) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def scanRight[B](z: B)(op: ((String, String), B) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def size: Int

Attributes

Inherited from:
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int

Attributes

Inherited from:
IterableOps
def sizeCompare(otherSize: Int): Int

Attributes

Inherited from:
IterableOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
def slice(from: Int, until: Int): Map[String, String]

Attributes

Inherited from:
IterableOps
def sliding(size: Int, step: Int): Iterator[Map[String, String]]

Attributes

Inherited from:
IterableOps
def sliding(size: Int): Iterator[Map[String, String]]

Attributes

Inherited from:
IterableOps
def span(p: ((String, String)) => Boolean): (Map[String, String], Map[String, String])

Attributes

Inherited from:
IterableOps
override def splitAt(n: Int): (Map[String, String], Map[String, String])

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, String), S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: (String, String)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: Map[String, String]

Attributes

Inherited from:
IterableOps
def tails: Iterator[Map[String, String]]

Attributes

Inherited from:
IterableOps
def take(n: Int): Map[String, String]

Attributes

Inherited from:
IterableOps
def takeRight(n: Int): Map[String, String]

Attributes

Inherited from:
IterableOps
def takeWhile(p: ((String, String)) => Boolean): Map[String, String]

Attributes

Inherited from:
IterableOps
override def tapEach[U](f: ((String, String)) => U): Map[String, String]

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def to[C1](factory: Factory[(String, String), C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: (String, String) : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: (String, String)]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def toList: List[(String, String)]

Attributes

Inherited from:
IterableOnceOps
final override def toMap[K2, V2](implicit ev: (String, String) <:< (K2, V2)): Map[K2, V2]

Attributes

Definition Classes
Map -> IterableOnceOps
Inherited from:
Map
def toSeq: Seq[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: (String, String)]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Map -> Function1 -> Iterable -> Any
Inherited from:
Map
def toVector: Vector[(String, String)]

Attributes

Inherited from:
IterableOnceOps
def transform[W](f: (String, String) => W): Map[String, W]

Attributes

Inherited from:
MapOps
def transpose[B](implicit asIterable: ((String, String)) => Iterable[B]): Iterable[Iterable[B]]

Attributes

Inherited from:
IterableOps
def unapply(a: String): Option[String]

Attributes

Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: ((String, String)) => (A1, A2)): (Iterable[A1], Iterable[A2])

Attributes

Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: ((String, String)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

Attributes

Inherited from:
IterableOps
def updatedWith[V1 >: String](key: String)(remappingFunction: (Option[String]) => Option[V1]): Map[String, V1]

Attributes

Inherited from:
MapOps
def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S

Attributes

Inherited from:
MapOps
def values: Iterable[String]

Attributes

Inherited from:
MapOps
def valuesIterator: Iterator[String]

Attributes

Inherited from:
MapOps
override def view: MapView[String, String]

Attributes

Definition Classes
MapOps -> IterableOps
Inherited from:
MapOps
def withDefault[V1 >: String](d: String => V1): Map[String, V1]

Attributes

Inherited from:
Map
def withDefaultValue[V1 >: String](d: V1): Map[String, V1]

Attributes

Inherited from:
Map
override def withFilter(p: ((String, String)) => Boolean): WithFilter[String, String, Iterable, Map]

Attributes

Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from:
MapFactoryDefaults
def zip[B](that: IterableOnce[B]): Iterable[((String, String), B)]

Attributes

Inherited from:
IterableOps
def zipAll[A1 >: (String, String), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]

Attributes

Inherited from:
IterableOps
def zipWithIndex: Iterable[((String, String), Int)]

Attributes

Inherited from:
IterableOps

Deprecated and Inherited methods

def +[V1 >: String](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]

Attributes

Deprecated
[Since version 2.13.0] Use ++ with an explicit collection argument instead of + with varargs
Inherited from:
MapOps
def ++:[B >: (String, String)](that: IterableOnce[B]): Iterable[B]

Attributes

Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
IterableOps
def ++:[V1 >: String](that: IterableOnce[(String, V1)]): Map[String, V1]

Attributes

Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
MapOps
def -(key1: String, key2: String, keys: String*): Map[String, String]

Attributes

Deprecated
[Since version 2.13.0] Use -- with an explicit collection
Inherited from:
MapOps
final def /:[B](z: B)(op: (B, (String, String)) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: ((String, String), B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, (String, String)) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
def companion: IterableFactory[Iterable]

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: (String, String)](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
def filterKeys(p: String => Boolean): MapView[String, String]

Attributes

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
def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
def mapValues[W](f: String => W): MapView[String, W]

Attributes

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
final def repr: Map[String, String]

Attributes

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
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

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
final def toIterator: Iterator[(String, String)]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[(String, String)]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[(String, String)]

Attributes

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
def view(from: Int, until: Int): View[(String, String)]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps