spark.util

TimeStampedHashMap

class TimeStampedHashMap[A, B] extends Map[A, B] with Logging

This is a custom implementation of scala.collection.mutable.Map which stores the insertion time stamp along with each key-value pair. Key-value pairs that are older than a particular threshold time can them be removed using the clearOldValues method. This is intended to be a drop-in replacement of scala.collection.mutable.HashMap.

Linear Supertypes
Logging, Map[A, B], MapLike[A, B, Map[A, B]], Cloneable[Map[A, B]], Shrinkable[A], Builder[(A, B), Map[A, B]], Growable[(A, B)], Map[A, B], MapLike[A, B, Map[A, B]], Subtractable[A, Map[A, B]], PartialFunction[A, B], (A) ⇒ B, GenMap[A, B], GenMapLike[A, B, Map[A, B]], Iterable[(A, B)], Iterable[(A, B)], IterableLike[(A, B), Map[A, B]], Equals, GenIterable[(A, B)], GenIterableLike[(A, B), Map[A, B]], Traversable[(A, B)], Mutable, Traversable[(A, B)], GenTraversable[(A, B)], GenericTraversableTemplate[(A, B), Iterable], TraversableLike[(A, B), Map[A, B]], GenTraversableLike[(A, B), Map[A, B]], Parallelizable[(A, B), ParMap[A, B]], TraversableOnce[(A, B)], GenTraversableOnce[(A, B)], FilterMonadic[(A, B), Map[A, B]], HasNewBuilder[(A, B), Map[A, B]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TimeStampedHashMap
  2. Logging
  3. Map
  4. MapLike
  5. Cloneable
  6. Shrinkable
  7. Builder
  8. Growable
  9. Map
  10. MapLike
  11. Subtractable
  12. PartialFunction
  13. Function1
  14. GenMap
  15. GenMapLike
  16. Iterable
  17. Iterable
  18. IterableLike
  19. Equals
  20. GenIterable
  21. GenIterableLike
  22. Traversable
  23. Mutable
  24. Traversable
  25. GenTraversable
  26. GenericTraversableTemplate
  27. TraversableLike
  28. GenTraversableLike
  29. Parallelizable
  30. TraversableOnce
  31. GenTraversableOnce
  32. FilterMonadic
  33. HasNewBuilder
  34. AnyRef
  35. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeStampedHashMap()

Type Members

  1. type Self = Map[A, B]

    Attributes
    protected
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +[B1 >: B](kv: (A, B1)): Map[A, B1]

    Definition Classes
    TimeStampedHashMap → MapLike → MapLike → GenMapLike
  5. def +[B1 >: B](elem1: (A, B1), elem2: (A, B1), elems: (A, B1)*): Map[A, B1]

    Definition Classes
    MapLike → MapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) + creates a new map. Use += to add an element to this map and return that map itself.

  6. def ++[B1 >: B](xs: GenTraversableOnce[(A, B1)]): Map[A, B1]

    Definition Classes
    MapLike → MapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) ++ creates a new map. Use ++= to add an element to this map and return that map itself.

  7. def ++[B >: (A, B), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  8. def ++:[B >: (A, B), That](that: Traversable[B])(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike
  9. def ++:[B >: (A, B), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike
  10. def ++=(xs: TraversableOnce[(A, B)]): TimeStampedHashMap.this.type

    Definition Classes
    Growable
  11. def +=(kv: (A, B)): TimeStampedHashMap.this.type

    Definition Classes
    TimeStampedHashMap → MapLike → Builder → Growable
  12. def +=(elem1: (A, B), elem2: (A, B), elems: (A, B)*): TimeStampedHashMap.this.type

    Definition Classes
    Growable
  13. def -(key: A): Map[A, B]

    Definition Classes
    TimeStampedHashMap → MapLike → MapLike → Subtractable → GenMapLike
  14. def -(elem1: A, elem2: A, elems: A*): Map[A, B]

    Definition Classes
    MapLike → Subtractable
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) - creates a new map. Use -= to remove an element from this map and return that map itself.

  15. def --(xs: GenTraversableOnce[A]): Map[A, B]

    Definition Classes
    MapLike → Subtractable
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) -- creates a new map. Use --= to remove an element from this map and return that map itself.

  16. def --=(xs: TraversableOnce[A]): TimeStampedHashMap.this.type

    Definition Classes
    Shrinkable
  17. def -=(key: A): TimeStampedHashMap.this.type

    Definition Classes
    TimeStampedHashMap → MapLike → Shrinkable
  18. def -=(elem1: A, elem2: A, elems: A*): TimeStampedHashMap.this.type

    Definition Classes
    Shrinkable
  19. def /:[B](z: B)(op: (B, (A, B)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. def /:\[A1 >: (A, B)](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  21. def :\[B](z: B)(op: ((A, B), B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  24. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    MapLike → TraversableOnce
  25. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  26. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  27. def aggregate[B](z: B)(seqop: (B, (A, B)) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. def andThen[C](k: (B) ⇒ C): PartialFunction[A, C]

    Definition Classes
    PartialFunction → Function1
  29. def apply(key: A): B

    Definition Classes
    TimeStampedHashMap → MapLike → Function1 → GenMapLike
  30. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  31. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  32. def clear(): Unit

    Definition Classes
    MapLike → Builder → Growable
  33. def clearOldValues(threshTime: Long): Unit

    Removes old key-value pairs that have timestamp earlier than threshTime

  34. def clone(): Map[A, B]

    Definition Classes
    MapLike → Cloneable → AnyRef
  35. def collect[B, That](pf: PartialFunction[(A, B), B])(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  36. def collectFirst[B](pf: PartialFunction[(A, B), B]): Option[B]

    Definition Classes
    TraversableOnce
  37. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  38. def compose[A](g: (A) ⇒ A): (A) ⇒ B

    Definition Classes
    Function1
  39. def contains(key: A): Boolean

    Definition Classes
    MapLike
  40. def copyToArray[B >: (A, B)](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def copyToArray[B >: (A, B)](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def copyToArray[B >: (A, B)](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  43. def copyToBuffer[B >: (A, B)](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  44. def count(p: ((A, B)) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def default(key: A): B

    Definition Classes
    MapLike → GenMapLike
  46. def drop(n: Int): Map[A, B]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  47. def dropRight(n: Int): Map[A, B]

    Definition Classes
    IterableLike
  48. def dropWhile(p: ((A, B)) ⇒ Boolean): Map[A, B]

    Definition Classes
    TraversableLike → GenTraversableLike
  49. def empty: Map[A, B]

    Definition Classes
    TimeStampedHashMap → Map → Map → MapLike
  50. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  51. def equals(that: Any): Boolean

    Definition Classes
    GenMapLike → Equals → AnyRef → Any
  52. def exists(p: ((A, B)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  53. def filter(p: ((A, B)) ⇒ Boolean): Map[A, B]

    Definition Classes
    TimeStampedHashMap → TraversableLike → GenTraversableLike
  54. def filterKeys(p: (A) ⇒ Boolean): Map[A, B]

    Definition Classes
    MapLike
  55. def filterNot(p: ((A, B)) ⇒ Boolean): Map[A, B]

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  56. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def find(p: ((A, B)) ⇒ Boolean): Option[(A, B)]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  58. def flatMap[B, That](f: ((A, B)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  59. def fold[A1 >: (A, B)](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def foldLeft[B](z: B)(op: (B, (A, B)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def foldRight[B](z: B)(op: ((A, B), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  62. def forall(p: ((A, B)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  63. def foreach[U](f: ((A, B)) ⇒ U): Unit

    Definition Classes
    TimeStampedHashMap → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  64. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  65. def get(key: A): Option[B]

    Definition Classes
    TimeStampedHashMap → MapLike → GenMapLike
  66. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  67. def getOrElse[B1 >: B](key: A, default: ⇒ B1): B1

    Definition Classes
    MapLike
  68. def getOrElseUpdate(key: A, op: ⇒ B): B

    Definition Classes
    MapLike
  69. def groupBy[K](f: ((A, B)) ⇒ K): Map[K, Map[A, B]]

    Definition Classes
    TraversableLike → GenTraversableLike
  70. def grouped(size: Int): Iterator[Map[A, B]]

    Definition Classes
    IterableLike
  71. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  72. def hashCode(): Int

    Definition Classes
    GenMapLike → AnyRef → Any
  73. def head: (A, B)

    Definition Classes
    IterableLike → GenIterableLike → TraversableLike → GenTraversableLike
  74. def headOption: Option[(A, B)]

    Definition Classes
    TraversableLike
  75. def init: Map[A, B]

    Definition Classes
    TraversableLike
  76. def initLogging(): Unit

    Attributes
    protected
    Definition Classes
    Logging
  77. def inits: Iterator[Map[A, B]]

    Definition Classes
    TraversableLike
  78. val internalMap: ConcurrentHashMap[A, (B, Long)]

  79. def isDefinedAt(key: A): Boolean

    Definition Classes
    MapLike → PartialFunction
  80. def isEmpty: Boolean

    Definition Classes
    MapLike → IterableLike → GenIterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  81. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  82. final def isTraversableAgain: Boolean

    Definition Classes
    GenTraversableLike → GenTraversableOnce
  83. def iterator: Iterator[(A, B)]

    Definition Classes
    TimeStampedHashMap → MapLike → IterableLike → GenIterableLike
  84. def keySet: Set[A]

    Definition Classes
    MapLike
  85. def keys: Iterable[A]

    Definition Classes
    MapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) keys returns Iterable[A] rather than Iterator[A].

  86. def keysIterator: Iterator[A]

    Definition Classes
    MapLike
  87. def last: (A, B)

    Definition Classes
    TraversableLike
  88. def lastOption: Option[(A, B)]

    Definition Classes
    TraversableLike
  89. def lift: (A) ⇒ Option[B]

    Definition Classes
    PartialFunction
  90. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  91. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  92. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  93. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  94. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  95. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  96. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  97. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  98. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  99. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  100. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  101. def map[B, That](f: ((A, B)) ⇒ B)(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  102. def mapResult[NewTo](f: (Map[A, B]) ⇒ NewTo): Builder[(A, B), NewTo]

    Definition Classes
    Builder
  103. def mapValues[C](f: (B) ⇒ C): Map[A, C]

    Definition Classes
    MapLike
  104. def max[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def maxBy[B](f: ((A, B)) ⇒ B)(implicit cmp: Ordering[B]): (A, B)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def min[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def minBy[B](f: ((A, B)) ⇒ B)(implicit cmp: Ordering[B]): (A, B)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  112. def newBuilder: Builder[(A, B), Map[A, B]]

    Attributes
    protected[this]
    Definition Classes
    MapLike → MapLike → TraversableLike → HasNewBuilder
  113. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. final def notify(): Unit

    Definition Classes
    AnyRef
  115. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  116. def orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  117. def par: ParMap[A, B]

    Definition Classes
    Parallelizable
  118. def parCombiner: Combiner[(A, B), ParMap[A, B]]

    Attributes
    protected[this]
    Definition Classes
    MapLike → MapLike → TraversableLike → Parallelizable
  119. def partition(p: ((A, B)) ⇒ Boolean): (Map[A, B], Map[A, B])

    Definition Classes
    TraversableLike → GenTraversableLike
  120. def product[B >: (A, B)](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def put(key: A, value: B): Option[B]

    Definition Classes
    MapLike
  122. def reduce[A1 >: (A, B)](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def reduceLeft[B >: (A, B)](op: (B, (A, B)) ⇒ B): B

    Definition Classes
    TraversableOnce
  124. def reduceLeftOption[B >: (A, B)](op: (B, (A, B)) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def reduceOption[A1 >: (A, B)](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def reduceRight[B >: (A, B)](op: ((A, B), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  127. def reduceRightOption[B >: (A, B)](op: ((A, B), B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def remove(key: A): Option[B]

    Definition Classes
    MapLike
  129. def repr: Map[A, B]

    Definition Classes
    TraversableLike → GenTraversableLike
  130. def result(): Map[A, B]

    Definition Classes
    MapLike → Builder
  131. def retain(p: (A, B) ⇒ Boolean): TimeStampedHashMap.this.type

    Definition Classes
    MapLike
  132. def reversed: List[(A, B)]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  133. def sameElements[B >: (A, B)](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  134. def scan[B >: (A, B), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  135. def scanLeft[B, That](z: B)(op: (B, (A, B)) ⇒ B)(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  136. def scanRight[B, That](z: B)(op: ((A, B), B) ⇒ B)(implicit bf: CanBuildFrom[Map[A, B], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  137. def seq: Map[A, B]

    Definition Classes
    Map → Map → GenMap → GenMapLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  138. def size: Int

    Definition Classes
    TimeStampedHashMap → GenTraversableLike → TraversableOnce → GenTraversableOnce
  139. def sizeHint(coll: scala.collection.TraversableLike[_, _], delta: Int): Unit

    Definition Classes
    Builder
  140. def sizeHint(size: Int): Unit

    Definition Classes
    Builder
  141. def sizeHintBounded(size: Int, boundingColl: scala.collection.TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  142. def slice(from: Int, until: Int): Map[A, B]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  143. def sliding[B >: (A, B)](size: Int, step: Int): Iterator[Map[A, B]]

    Definition Classes
    IterableLike
  144. def sliding[B >: (A, B)](size: Int): Iterator[Map[A, B]]

    Definition Classes
    IterableLike
  145. def span(p: ((A, B)) ⇒ Boolean): (Map[A, B], Map[A, B])

    Definition Classes
    TraversableLike → GenTraversableLike
  146. def splitAt(n: Int): (Map[A, B], Map[A, B])

    Definition Classes
    TraversableLike → GenTraversableLike
  147. def stringPrefix: String

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  148. def sum[B >: (A, B)](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  149. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  150. def tail: Map[A, B]

    Definition Classes
    TraversableLike → GenTraversableLike
  151. def tails: Iterator[Map[A, B]]

    Definition Classes
    TraversableLike
  152. def take(n: Int): Map[A, B]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  153. def takeRight(n: Int): Map[A, B]

    Definition Classes
    IterableLike
  154. def takeWhile(p: ((A, B)) ⇒ Boolean): Map[A, B]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  155. def thisCollection: Iterable[(A, B)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  156. def toArray[B >: (A, B)](implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  157. def toBuffer[C >: (A, B)]: Buffer[C]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  158. def toCollection(repr: Map[A, B]): Iterable[(A, B)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  159. def toIndexedSeq[B >: (A, B)]: IndexedSeq[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  160. def toIterable: Iterable[(A, B)]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  161. def toIterator: Iterator[(A, B)]

    Definition Classes
    TraversableLike → GenTraversableOnce
  162. def toList: List[(A, B)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  163. def toMap[T, U](implicit ev: <:<[(A, B), (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  164. def toSeq: Seq[(A, B)]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  165. def toSet[B >: (A, B)]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  166. def toStream: Stream[(A, B)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  167. def toString(): String

    Definition Classes
    MapLike → TraversableLike → Function1 → AnyRef → Any
  168. def toTraversable: Traversable[(A, B)]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  169. def transform(f: (A, B) ⇒ B): TimeStampedHashMap.this.type

    Definition Classes
    MapLike
  170. def transpose[B](implicit asTraversable: ((A, B)) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  171. def unzip[A1, A2](implicit asPair: ((A, B)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  172. def unzip3[A1, A2, A3](implicit asTriple: ((A, B)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  173. def update(key: A, value: B): Unit

    Definition Classes
    TimeStampedHashMap → MapLike
  174. def updated[B1 >: B](key: A, value: B1): Map[A, B1]

    Definition Classes
    MapLike → MapLike
  175. def values: Iterable[B]

    Definition Classes
    MapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) values returns Iterable[B] rather than Iterator[B].

  176. def valuesIterator: Iterator[B]

    Definition Classes
    MapLike
  177. def view(from: Int, until: Int): IterableView[(A, B), Map[A, B]]

    Definition Classes
    IterableLike → TraversableLike
  178. def view: IterableView[(A, B), Map[A, B]]

    Definition Classes
    IterableLike → TraversableLike
  179. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  180. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  181. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  182. def withDefault(d: (A) ⇒ B): Map[A, B]

    Definition Classes
    Map
  183. def withDefaultValue(d: B): Map[A, B]

    Definition Classes
    Map
  184. def withFilter(p: ((A, B)) ⇒ Boolean): FilterMonadic[(A, B), Map[A, B]]

    Definition Classes
    TraversableLike → FilterMonadic
  185. def zip[A1 >: (A, B), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Map[A, B], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  186. def zipAll[B, A1 >: (A, B), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Map[A, B], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  187. def zipWithIndex[A1 >: (A, B), That](implicit bf: CanBuildFrom[Map[A, B], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def elements: Iterator[(A, B)]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use iterator' instead

  2. def first: (A, B)

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use head' instead

  3. def firstOption: Option[(A, B)]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use headOption' instead

  4. def mapElements[C](f: (B) ⇒ C): Map[A, C]

    Definition Classes
    MapLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use mapValues' instead

  5. def projection: IterableView[(A, B), Map[A, B]]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use view' instead

  6. def removeKey(key: A): Option[B]

    Definition Classes
    MapLike
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) Use remove' instead

Inherited from Logging

Inherited from Map[A, B]

Inherited from MapLike[A, B, Map[A, B]]

Inherited from Cloneable[Map[A, B]]

Inherited from Shrinkable[A]

Inherited from Builder[(A, B), Map[A, B]]

Inherited from Growable[(A, B)]

Inherited from Map[A, B]

Inherited from MapLike[A, B, Map[A, B]]

Inherited from Subtractable[A, Map[A, B]]

Inherited from PartialFunction[A, B]

Inherited from (A) ⇒ B

Inherited from GenMap[A, B]

Inherited from GenMapLike[A, B, Map[A, B]]

Inherited from Iterable[(A, B)]

Inherited from Iterable[(A, B)]

Inherited from IterableLike[(A, B), Map[A, B]]

Inherited from Equals

Inherited from GenIterable[(A, B)]

Inherited from GenIterableLike[(A, B), Map[A, B]]

Inherited from Traversable[(A, B)]

Inherited from Mutable

Inherited from Traversable[(A, B)]

Inherited from GenTraversable[(A, B)]

Inherited from GenericTraversableTemplate[(A, B), Iterable]

Inherited from TraversableLike[(A, B), Map[A, B]]

Inherited from GenTraversableLike[(A, B), Map[A, B]]

Inherited from Parallelizable[(A, B), ParMap[A, B]]

Inherited from TraversableOnce[(A, B)]

Inherited from GenTraversableOnce[(A, B)]

Inherited from FilterMonadic[(A, B), Map[A, B]]

Inherited from HasNewBuilder[(A, B), Map[A, B]]

Inherited from AnyRef

Inherited from Any