Trait/Object

de.ummels.prioritymap

PriorityMap

Related Docs: object PriorityMap | package prioritymap

Permalink

trait PriorityMap[A, B] extends Map[A, B] with PriorityMapLike[A, B, PriorityMap[A, B]]

A generic trait for immutable priority maps. Concrete classes have to provide functionality for the abstract methods in PriorityMap:

implicit def ordering: Ordering[B]
def get(key: A): Option[B]
def iterator: Iterator[(A, B)]
def +(kv: (A, B)): PriorityMap[A, B]
def +[B1 >: B](kv: (A, B1)): Map[A, B1]
def -(key: A): PriorityMap[A, B]
def rangeImpl(from: Option[B], until: Option[B]): PriorityMap[A, B]

The iterator returned by iterator should generate key/value pairs in the order specified by the implicit ordering on values.

Concrete classes may also override other methods for efficiency.

Source
PriorityMap.scala
Linear Supertypes
PriorityMapLike[A, B, PriorityMap[A, B]], Map[A, B], MapLike[A, B, PriorityMap[A, B]], Map[A, B], MapLike[A, B, PriorityMap[A, B]], Subtractable[A, PriorityMap[A, B]], PartialFunction[A, B], (A) ⇒ B, GenMap[A, B], GenMapLike[A, B, PriorityMap[A, B]], Iterable[(A, B)], Iterable[(A, B)], IterableLike[(A, B), PriorityMap[A, B]], Equals, GenIterable[(A, B)], GenIterableLike[(A, B), PriorityMap[A, B]], Traversable[(A, B)], Immutable, Traversable[(A, B)], GenTraversable[(A, B)], GenericTraversableTemplate[(A, B), Iterable], TraversableLike[(A, B), PriorityMap[A, B]], GenTraversableLike[(A, B), PriorityMap[A, B]], Parallelizable[(A, B), ParMap[A, B]], TraversableOnce[(A, B)], GenTraversableOnce[(A, B)], FilterMonadic[(A, B), PriorityMap[A, B]], HasNewBuilder[(A, B), PriorityMap[A, B]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PriorityMap
  2. PriorityMapLike
  3. Map
  4. MapLike
  5. Map
  6. MapLike
  7. Subtractable
  8. PartialFunction
  9. Function1
  10. GenMap
  11. GenMapLike
  12. Iterable
  13. Iterable
  14. IterableLike
  15. Equals
  16. GenIterable
  17. GenIterableLike
  18. Traversable
  19. Immutable
  20. Traversable
  21. GenTraversable
  22. GenericTraversableTemplate
  23. TraversableLike
  24. GenTraversableLike
  25. Parallelizable
  26. TraversableOnce
  27. GenTraversableOnce
  28. FilterMonadic
  29. HasNewBuilder
  30. AnyRef
  31. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DefaultKeySet extends AbstractSet[A] with Set[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    MapLike
  2. class DefaultValuesIterable extends AbstractIterable[B] with Iterable[B] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    MapLike
  3. class FilteredKeys extends AbstractMap[A, B] with DefaultMap[A, B]

    Permalink
    Attributes
    protected
    Definition Classes
    MapLike
  4. class ImmutableDefaultKeySet extends scala.collection.immutable.MapLike.DefaultKeySet with Set[A]

    Permalink
    Attributes
    protected
    Definition Classes
    MapLike
  5. class MappedValues[C] extends AbstractMap[A, C] with DefaultMap[A, C]

    Permalink
    Attributes
    protected
    Definition Classes
    MapLike
  6. type Self = PriorityMap[A, B]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  7. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def +(kv: (A, B)): PriorityMap[A, B]

    Permalink

    Adds a key/value binding to this priority map.

    Adds a key/value binding to this priority map.

    kv

    the key/value pair

    returns

    a new priority map with the new binding added to this priority map

    Definition Classes
    PriorityMapLike
  2. abstract def +[B1 >: B](kv: (A, B1)): Map[A, B1]

    Permalink
    Definition Classes
    Map → MapLike → MapLike → GenMapLike
  3. abstract def -(key: A): PriorityMap[A, B]

    Permalink
    Definition Classes
    MapLike → Subtractable → GenMapLike
  4. abstract def get(key: A): Option[B]

    Permalink
    Definition Classes
    MapLike → GenMapLike
  5. abstract def iterator: Iterator[(A, B)]

    Permalink
    Definition Classes
    MapLike → IterableLike → GenIterableLike
  6. implicit abstract def ordering: Ordering[B]

    Permalink
    Definition Classes
    PriorityMapLike
  7. abstract def rangeImpl(from: Option[B], until: Option[B]): PriorityMap[A, B]

    Permalink

    Returns a new priority map of the same type as this priority map that only contains values between the given optional bounds.

    Returns a new priority map of the same type as this priority map that only contains values between the given optional bounds.

    from

    the lower-bound (inclusive) on values or None if there is no lower bound

    until

    the upper-bound (exclusive) on values or None if there is no upper bound

    Definition Classes
    PriorityMapLike

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(kv1: (A, B), kv2: (A, B), kvs: (A, B)*): PriorityMap[A, B]

    Permalink

    Adds two or more key/value bindings to this priority map.

    Adds two or more key/value bindings to this priority map.

    kv1

    the first key/value pair to add

    kv2

    the second key/value pair to add

    kvs

    the remaining key/value pairs to add

    returns

    a new priority map with the new bindings added to this map

    Definition Classes
    PriorityMapLike
  4. def +[B1 >: B](elem1: (A, B1), elem2: (A, B1), elems: (A, B1)*): Map[A, B1]

    Permalink
    Definition Classes
    MapLike → MapLike
  5. def ++(kvs: GenTraversableOnce[(A, B)]): PriorityMap[A, B]

    Permalink

    Adds a number of key/value bindings to this priority map.

    Adds a number of key/value bindings to this priority map.

    kvs

    a traversable object consisting of key/value pairs

    returns

    a new priority map with the new bindings added to this map

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

    Permalink
    Definition Classes
    MapLike → MapLike
  7. def ++[B >: (A, B), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityMap[A, B], B, That]): That

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

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

    Permalink
    Definition Classes
    TraversableLike
  10. def -(elem1: A, elem2: A, elems: A*): PriorityMap[A, B]

    Permalink
    Definition Classes
    Subtractable
  11. def --(xs: GenTraversableOnce[A]): PriorityMap[A, B]

    Permalink
    Definition Classes
    Subtractable
  12. def /:[B](z: B)(op: (B, (A, B)) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. def :\[B](z: B)(op: ((A, B), B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  14. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

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

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

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

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

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

    Permalink
    Definition Classes
    MapLike → GenMapLike → Function1
  21. def applyOrElse[A1 <: A, B1 >: B](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def collect[B, That](pf: PartialFunction[(A, B), B])(implicit bf: CanBuildFrom[PriorityMap[A, B], B, That]): That

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

    Permalink
    Definition Classes
    TraversableOnce
  27. def companion: GenericCompanion[Iterable]

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  29. def contains(key: A): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    MapLike → GenMapLike
  36. def drop(n: Int): PriorityMap[A, B]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  37. def dropRight(n: Int): PriorityMap[A, B]

    Permalink
    Definition Classes
    IterableLike
  38. def dropWhile(p: ((A, B)) ⇒ Boolean): PriorityMap[A, B]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def empty: PriorityMap[A, B]

    Permalink

    An empty priority map of the same type as this priority map.

    An empty priority map of the same type as this priority map.

    Definition Classes
    PriorityMap → Map → Map → MapLike
  40. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  44. def filterKeys(p: (A) ⇒ Boolean): PriorityMap[A, B]

    Permalink
    Definition Classes
    PriorityMapLike → MapLike → MapLike → GenMapLike
  45. def filterNot(p: ((A, B)) ⇒ Boolean): PriorityMap[A, B]

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def firstKey: Option[A]

    Permalink

    Optionally returns the first key of this priority map.

    Optionally returns the first key of this priority map.

    Definition Classes
    PriorityMapLike
  49. def firstValue: Option[B]

    Permalink

    Optionally returns the first value of this priority map.

    Optionally returns the first value of this priority map.

    Definition Classes
    PriorityMapLike
  50. def flatMap[B, That](f: ((A, B)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityMap[A, B], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  51. def flatten[B](implicit asTraversable: ((A, B)) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  52. def fold[A1 >: (A, B)](z: A1)(op: (A1, A1) ⇒ A1): A1

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

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

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  57. def from(from: B): PriorityMap[A, B]

    Permalink

    Returns a new priority map of the same type as this priority map that only contains values greater than or equal to the given lower bound.

    Returns a new priority map of the same type as this priority map that only contains values greater than or equal to the given lower bound.

    from

    the lower-bound (inclusive) on values

    Definition Classes
    PriorityMapLike
  58. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  59. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    MapLike → GenMapLike
  61. def groupBy[K](f: ((A, B)) ⇒ K): Map[K, PriorityMap[A, B]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  62. def grouped(size: Int): Iterator[PriorityMap[A, B]]

    Permalink
    Definition Classes
    IterableLike
  63. def hasDefiniteSize: Boolean

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  67. def init: PriorityMap[A, B]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  68. def inits: Iterator[PriorityMap[A, B]]

    Permalink
    Definition Classes
    TraversableLike
  69. def isDefinedAt(key: A): Boolean

    Permalink
    Definition Classes
    MapLike → GenMapLike → PartialFunction
  70. def isEmpty: Boolean

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

    Permalink
    Definition Classes
    Any
  72. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  73. def keySet: Set[A]

    Permalink
    Definition Classes
    MapLike → MapLike → GenMapLike
  74. def keys: Iterable[A]

    Permalink
    Definition Classes
    MapLike → GenMapLike
    Annotations
    @migration
    Migration

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

  75. def keysIterator: Iterator[A]

    Permalink
    Definition Classes
    MapLike → GenMapLike
  76. def last: (A, B)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  77. def lastKey: Option[A]

    Permalink

    Optionally returns the last key of this priority map.

    Optionally returns the last key of this priority map.

    Definition Classes
    PriorityMapLike
  78. def lastOption: Option[(A, B)]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def lastValue: Option[B]

    Permalink

    Optionally returns the last value of this priority map.

    Optionally returns the last value of this priority map.

    Definition Classes
    PriorityMapLike
  80. def lift: (A) ⇒ Option[B]

    Permalink
    Definition Classes
    PartialFunction
  81. def map[B, That](f: ((A, B)) ⇒ B)(implicit bf: CanBuildFrom[PriorityMap[A, B], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  82. def mapValues[C](f: (B) ⇒ C)(implicit ord: Ordering[C]): PriorityMap[A, C]

    Permalink

    Transforms this map by applying a function to every retrieved value.

    Transforms this map by applying a function to every retrieved value.

    f

    the function used to transform values of this map

    returns

    a new priority map that maps every key of this map to f(this(key))

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

    Permalink
    Definition Classes
    MapLike → MapLike → GenMapLike
  84. def max[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def merged(kvs: GenTraversableOnce[(A, B)])(f: (B, B) ⇒ B): PriorityMap[A, B]

    Permalink

    Merges a number of key/value bindings into this priority map.

    Merges a number of key/value bindings into this priority map.

    If a key is contained in both this map and the given bindings, computes the new value by applying the given merge function to the existing value and the new value.

    kvs

    a traversable object consisting of key/value pairs

    f

    the merge function

    returns

    a new priority map with the new bindings merged into this map

    Definition Classes
    PriorityMapLike
  87. def min[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def mkString: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  93. def newBuilder: PriorityMapBuilder[A, B, PriorityMap[A, B]]

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

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

    Permalink
    Definition Classes
    AnyRef
  96. final def notifyAll(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def range(from: B, until: B): PriorityMap[A, B]

    Permalink

    Returns a new priority map of the same type as this priority map that only contains values between the given bounds.

    Returns a new priority map of the same type as this priority map that only contains values between the given bounds.

    from

    the lower-bound (inclusive) on values

    until

    the upper-bound (exclusive) on values

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def repr: PriorityMap[A, B]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  110. def reversed: List[(A, B)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  111. def runWith[U](action: (B) ⇒ U): (A) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  112. def sameElements[B >: (A, B)](that: GenIterable[B]): Boolean

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

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

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

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

  116. def seq: PriorityMap[A, B]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def slice(from: Int, until: Int): PriorityMap[A, B]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  119. def sliding(size: Int, step: Int): Iterator[PriorityMap[A, B]]

    Permalink
    Definition Classes
    IterableLike
  120. def sliding(size: Int): Iterator[PriorityMap[A, B]]

    Permalink
    Definition Classes
    IterableLike
  121. def span(p: ((A, B)) ⇒ Boolean): (PriorityMap[A, B], PriorityMap[A, B])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  122. def splitAt(n: Int): (PriorityMap[A, B], PriorityMap[A, B])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  123. def stringPrefix: String

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

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

    Permalink
    Definition Classes
    AnyRef
  126. def tail: PriorityMap[A, B]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def tails: Iterator[PriorityMap[A, B]]

    Permalink
    Definition Classes
    TraversableLike
  128. def take(n: Int): PriorityMap[A, B]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  129. def takeRight(n: Int): PriorityMap[A, B]

    Permalink
    Definition Classes
    IterableLike
  130. def takeWhile(p: ((A, B)) ⇒ Boolean): PriorityMap[A, B]

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  132. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (A, B), Col[(A, B)]]): Col[(A, B)]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  133. def toArray[B >: (A, B)](implicit arg0: ClassTag[B]): Array[B]

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

    Permalink
    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  135. def toCollection(repr: PriorityMap[A, B]): Iterable[(A, B)]

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

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  139. def toList: List[(A, B)]

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

    Permalink
    Definition Classes
    Map → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  141. def toSeq: Seq[(A, B)]

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  146. def toVector: Vector[(A, B)]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def transform[C, That](f: (A, B) ⇒ C)(implicit bf: CanBuildFrom[PriorityMap[A, B], (A, C), That]): That

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  149. def until(until: B): PriorityMap[A, B]

    Permalink

    Returns a new priority map of the same type as this priority map that only contains values smaller than the given upper bound.

    Returns a new priority map of the same type as this priority map that only contains values smaller than the given upper bound.

    until

    the upper-bound (exclusive) on values

    Definition Classes
    PriorityMapLike
  150. def unzip[A1, A2](implicit asPair: ((A, B)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
  152. def updated(key: A, value: B): PriorityMap[A, B]

    Permalink

    Adds a key/value binding to this priority map.

    Adds a key/value binding to this priority map.

    key

    the key

    value

    the value

    returns

    a new priority map with the new binding added to this map

    Definition Classes
    PriorityMapLike
  153. def updated[B1 >: B](key: A, value: B1): Map[A, B1]

    Permalink
    Definition Classes
    MapLike → MapLike
  154. def valueSet: SortedSet[B]

    Permalink

    Returns the values of this priority map as a sorted set.

    Returns the values of this priority map as a sorted set.

    Definition Classes
    PriorityMapLike
  155. def values: Iterable[B]

    Permalink
    Definition Classes
    MapLike → GenMapLike
    Annotations
    @migration
    Migration

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

  156. def valuesIterator: Iterator[B]

    Permalink
    Definition Classes
    MapLike → GenMapLike
  157. def view(from: Int, until: Int): IterableView[(A, B), PriorityMap[A, B]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  158. def view: IterableView[(A, B), PriorityMap[A, B]]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  162. def withDefault(d: (A) ⇒ B): PriorityMap[A, B]

    Permalink

    The same priority map with a given default function.

    The same priority map with a given default function. Note: get, contains, iterator, keys, etc. are not affected by withDefault.

    Invoking transformer methods (e.g. map) will not preserve the default value.

    d

    the function mapping keys to values, used for non-present keys

    returns

    a wrapper of this priority map with a default function

  163. def withDefault[B1 >: B](d: (A) ⇒ B1): Map[A, B1]

    Permalink
    Definition Classes
    Map
  164. def withDefaultValue(d: B): PriorityMap[A, B]

    Permalink

    The same priority map with a given default value.

    The same priority map with a given default value. Note: get, contains, iterator, keys, etc. are not affected by withDefaultValue.

    Invoking transformer methods (e.g. map) will not preserve the default value.

    d

    default value used for non-present keys

    returns

    a wrapper of this priority map with a default value

  165. def withDefaultValue[B1 >: B](d: B1): Map[A, B1]

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

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

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

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

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from PriorityMapLike[A, B, PriorityMap[A, B]]

Inherited from Map[A, B]

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

Inherited from Map[A, B]

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

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

Inherited from PartialFunction[A, B]

Inherited from (A) ⇒ B

Inherited from GenMap[A, B]

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

Inherited from Iterable[(A, B)]

Inherited from Iterable[(A, B)]

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

Inherited from Equals

Inherited from GenIterable[(A, B)]

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

Inherited from Traversable[(A, B)]

Inherited from Immutable

Inherited from Traversable[(A, B)]

Inherited from GenTraversable[(A, B)]

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

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

Inherited from GenTraversableLike[(A, B), PriorityMap[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), PriorityMap[A, B]]

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

Inherited from AnyRef

Inherited from Any

Ungrouped