ObservableMap

scalafx.collections.ObservableMap
See theObservableMap companion object
trait ObservableMap[K, V] extends Map[K, V], MapOps[K, V, Map, ObservableMap[K, V]], StrictOptimizedIterableOps[(K, V), Iterable, ObservableMap[K, V]], MapFactoryDefaults[K, V, ObservableMap, Iterable], Observable, SFXDelegate[ObservableMap[K, V]]

Wrapper class to JavaFX's `ObservableMap`.

Type parameters

K

Key type

V

Value type. returned by observableHashMap method from FXCollections.

Attributes

Companion
object
Graph
Supertypes
trait Observable
trait SFXDelegate[ObservableMap[K, V]]
trait Map[K, V]
trait MapOps[K, V, Map, ObservableMap[K, V]]
trait Shrinkable[K]
trait Builder[(K, V), ObservableMap[K, V]]
trait Growable[(K, V)]
trait Clearable
trait Cloneable[ObservableMap[K, V]]
trait Cloneable
trait Map[K, V]
trait Equals
trait MapOps[K, V, ObservableMap, ObservableMap[K, V]]
trait PartialFunction[K, V]
trait K => V
trait Iterable[(K, V)]
trait Iterable[(K, V)]
trait IterableOps[(K, V), Iterable, ObservableMap[K, V]]
trait IterableOnceOps[(K, V), Iterable, ObservableMap[K, V]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ObservableHashMap[K, V]

Members list

Value members

Concrete methods

override def addOne(kv: (K, V)): ObservableMap.this.type

Adds a new key/value pair to this Map.

Adds a new key/value pair to this Map.

Value parameters

kv

the key/value pair.

Attributes

Returns

The ObservableMap itself

Definition Classes
override def clear(): Unit

Removes all elements from the Map. After this operation has completed, the Map will be empty.

Removes all elements from the Map. After this operation has completed, the Map will be empty.

Attributes

Definition Classes
override def empty: ObservableMap[K, V]

The empty map of the same type as this Map.

The empty map of the same type as this Map.

Attributes

Returns

An empty ObservableMap

Definition Classes
override def get(key: K): Option[V]

Optionally returns the value associated with a key.

Optionally returns the value associated with a key.

Value parameters

key

the key value

Attributes

Returns

an option value containing the value associated with key in this Map, or None if none exists.

Definition Classes
def iterator: Iterator[(K, V)]

Creates a new `Iterator` over all key/value pairs of this ObservableMap.

Creates a new `Iterator` over all key/value pairs of this ObservableMap.

Attributes

Returns

The new iterator.

Attributes

Definition Classes
Map -> Map -> MapOps
def onChange(op: (ObservableMap[K, V], Change[K, V]) => Unit): Subscription

Add a listener function to Map's changes. This function '''will handle''' this map's modifications data.

Add a listener function to Map's changes. This function '''will handle''' this map's modifications data.

Value parameters

op

Function that will handle this ObservableMap's modifications data to be activated when some change was made.

Attributes

def onChange(op: => Unit): Subscription

Add a listener function to Map's changes. This function '''will not handle''' this Map's modifications data.

Add a listener function to Map's changes. This function '''will not handle''' this Map's modifications data.

Value parameters

op

No-argument function to be activated when some change in this ObservableMap was made.

Attributes

override def result(): ObservableMap[K, V]

The result when this Map is used as a builder.

The result when this Map is used as a builder.

Attributes

Definition Classes
override def size: Int

This Map's size.

This Map's size.

Attributes

Returns

This Map's size.

Definition Classes
override def subtractOne(key: K): ObservableMap.this.type

Removes a key from this Map.

Removes a key from this Map.

Value parameters

key

the key to be removed

Attributes

Returns

The ObservableMap itself.

Definition Classes

Inherited methods

final def ++[B >: (K, V)](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
def ++[V2 >: V](xs: IterableOnce[(K, V2)]): CC[K, V2]

Attributes

Inherited from:
MapOps
final def ++=(xs: IterableOnce[(K, V)]): Growable.this.type

Attributes

Inherited from:
Growable
final def +=(elem: (K, V)): Growable.this.type

Attributes

Inherited from:
Growable
final def --=(xs: IterableOnce[K]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: K): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
def addAll(xs: IterableOnce[(K, V)]): Growable.this.type

Attributes

Inherited from:
Growable

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Definition Classes
Inherited from:
MapOps

Attributes

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

Attributes

Definition Classes
Inherited from:
PartialFunction
def apply(key: K): V

Attributes

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

Attributes

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

Attributes

Inherited from:
Map
override def clone(): C

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
MapOps -> Cloneable -> Object
Inherited from:
MapOps
override def collect[B](pf: PartialFunction[(K, V), B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): CC[K2, V2]

Attributes

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

Attributes

Inherited from:
IterableOnceOps

Attributes

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

Attributes

Inherited from:
Function1
def concat[B >: (K, V)](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): CC[K, V2]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOnceOps
def default(key: K): V

Attributes

Inherited from:
MapOps
def delegate: D

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

Inherited from:
SFXDelegate
def drop(n: Int): C

Attributes

Inherited from:
IterableOps
override def dropRight(n: Int): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def dropWhile(p: ((K, V)) => Boolean): C

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
PartialFunction
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def exists(p: ((K, V)) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
override def filter(pred: ((K, V)) => Boolean): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def filterInPlace(p: (K, V) => Boolean): MapOps.this.type

Attributes

Inherited from:
MapOps
override def filterNot(pred: ((K, V)) => Boolean): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def find(p: ((K, V)) => Boolean): Option[A]

Attributes

Inherited from:
IterableOnceOps
override def flatMap[B](f: ((K, V)) => IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): CC[K2, V2]

Attributes

Inherited from:
MapOps
override def flatten[B](implicit toIterableOnce: ((K, V)) => IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOnceOps
def foreachEntry[U](f: (K, V) => U): Unit

Attributes

Inherited from:
MapOps
override protected def fromSpecific(coll: IterableOnce[(K, V)]): CC[K, V]

Attributes

Definition Classes
Inherited from:
MapFactoryDefaults
def getOrElse[V1 >: V](key: K, default: => V1): V1

Attributes

Inherited from:
MapOps
def getOrElseUpdate(key: K, op: => V): V

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOps
def grouped(size: Int): Iterator[C]

Attributes

Inherited from:
IterableOps
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def head: A

Attributes

Inherited from:
IterableOps
def headOption: Option[A]

Attributes

Inherited from:
IterableOps
def init: C

Attributes

Inherited from:
IterableOps
def inits: Iterator[C]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
MapOps

Attributes

Inherited from:
IterableOnceOps
override def isTraversableAgain: Boolean

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Definition Classes
Inherited from:
Iterable
def keySet: Set[K]

Attributes

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

Attributes

Inherited from:
MapOps
def keys: Iterable[K]

Attributes

Inherited from:
MapOps

Attributes

Inherited from:
MapOps
override def knownSize: Int

Attributes

Definition Classes
Inherited from:
MapOps
def last: A

Attributes

Inherited from:
IterableOps
def lastOption: Option[A]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
Iterable
def lift: A => Option[B]

Attributes

Inherited from:
PartialFunction
override def map[B](f: ((K, V)) => B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def map[K2, V2](f: ((K, V)) => (K2, V2)): CC[K2, V2]

Attributes

Inherited from:
MapOps
def mapResult[NewTo](f: ObservableMap[K, V] => NewTo): Builder[A, NewTo]

Attributes

Inherited from:
Builder
def mapValuesInPlace(f: (K, V) => V): MapOps.this.type

Attributes

Inherited from:
MapOps
def max[B >: (K, V)](implicit ord: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

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

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

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

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
override protected def newSpecificBuilder: Builder[(K, V), CC[K, V]]

Attributes

Definition Classes
Inherited from:
MapFactoryDefaults

Attributes

Inherited from:
IterableOnceOps

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Adds a no argument function as a JavaFX `InvalidationListener`. This function has no arguments because it will not handle invalidated values.

Value parameters

op

A Function with no arguments. It will be called when value was invalidated.

Attributes

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from:
Observable

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Adds a function as a JavaFX `InvalidationListener`. This function has all arguments from `invalidated` method from InvalidationListener.

Value parameters

op

Function that receives a ScalaFX Observable. It will be called when value was invalidated.

Attributes

Returns

A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

Inherited from:
Observable
def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
override def partition(p: ((K, V)) => Boolean): (C, C)

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (CC[A1], CC[A2])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def product[B >: (K, V)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def put(key: K, value: V): Option[V]

Attributes

Inherited from:
MapOps
def reduce[B >: (K, V)](op: (B, B) => B): B

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOnceOps
def remove(key: K): Option[V]

Attributes

Inherited from:
MapOps
protected def reversed: Iterable[A]

Attributes

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

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
Cloneable
def scan[B >: (K, V)](z: B)(op: (B, B) => B): CC[B]

Attributes

Inherited from:
IterableOps
override def scanLeft[B](z: B)(op: (B, (K, V)) => B): CC[B]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def scanRight[B](z: B)(op: ((K, V), B) => B): CC[B]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit

Attributes

Inherited from:
Builder

Attributes

Inherited from:
Builder

Attributes

Inherited from:
Builder
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
def slice(from: Int, until: Int): C

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
def sliding(size: Int): Iterator[C]

Attributes

Inherited from:
IterableOps
override def span(p: ((K, V)) => Boolean): (C, C)

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def splitAt(n: Int): (C, C)

Attributes

Definition Classes
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S

Attributes

Inherited from:
IterableOnce
def subtractAll(xs: IterableOnce[K]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
def sum[B >: (K, V)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: C

Attributes

Inherited from:
IterableOps
def tails: Iterator[C]

Attributes

Inherited from:
IterableOps
def take(n: Int): C

Attributes

Inherited from:
IterableOps
override def takeRight(n: Int): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def takeWhile(p: ((K, V)) => Boolean): C

Attributes

Inherited from:
IterableOps
override def tapEach[U](f: ((K, V)) => U): C

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def to[C1](factory: Factory[(K, V), C1]): C1

Attributes

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

Attributes

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

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toList: List[A]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: (K, V) <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[A]

Attributes

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

Attributes

Inherited from:
IterableOnceOps
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def toVector: Vector[A]

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: ((K, V)) => Iterable[B]): CC[CC[B]]

Attributes

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

Attributes

Inherited from:
PartialFunction
override def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (CC[A1], CC[A2])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (CC[A1], CC[A2], CC[A3])

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def update(key: K, value: V): Unit

Attributes

Inherited from:
MapOps

Attributes

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

Attributes

Inherited from:
MapOps
def values: Iterable[V]

Attributes

Inherited from:
MapOps

Attributes

Inherited from:
MapOps
override def view: MapView[K, V]

Attributes

Definition Classes
Inherited from:
MapOps
def withDefault(d: K => V): Map[K, V]

Attributes

Inherited from:
Map
def withDefaultValue(d: V): Map[K, V]

Attributes

Inherited from:
Map
override def withFilter(p: ((K, V)) => Boolean): WithFilter[K, V, WithFilterCC, CC]

Attributes

Definition Classes
Inherited from:
MapFactoryDefaults
override def zip[B](that: IterableOnce[B]): CC[(A, B)]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps
def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]

Attributes

Inherited from:
IterableOps
override def zipWithIndex: CC[(A, Int)]

Attributes

Definition Classes
Inherited from:
StrictOptimizedIterableOps

Deprecated and Inherited methods

def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): CC[K, V1]

Attributes

Deprecated
[Since version 2.13.0] Use ++ with an explicit collection argument instead of + with varargs
Inherited from:
MapOps
def +[V1 >: V](kv: (K, V1)): CC[K, V1]

Attributes

Deprecated
[Since version 2.13.0] Consider requiring an immutable Map or fall back to Map.concat.
Inherited from:
MapOps
def ++:[B >: (K, V)](that: IterableOnce[B]): CC[B]

Attributes

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

Attributes

Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
MapOps
final def +=(elem1: (K, V), elem2: (K, V), elems: (K, V)*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
final def -(key1: K, key2: K, keys: K*): C

Attributes

Deprecated
[Since version 2.13.0] Use -- or removeAll on an immutable Map
Inherited from:
MapOps
final def -(key: K): C

Attributes

Deprecated
[Since version 2.13.0] Use - or remove on an immutable Map
Inherited from:
MapOps
def --(keys: IterableOnce[K]): C

Attributes

Deprecated
[Since version 2.13.0] Consider requiring an immutable Map.
Inherited from:
MapOps
def -=(elem1: K, elem2: K, elems: K*): Shrinkable.this.type

Attributes

Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
final def /:[B](z: B)(op: (B, (K, V)) => B): B

Attributes

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

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, (K, V)) => 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

Attributes

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

Attributes

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

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

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: V => W): MapView[K, 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: C

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
final def retain(p: (K, V) => Boolean): MapOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use filterInPlace instead
Inherited from:
MapOps
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[A]

Attributes

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

Attributes

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

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
final def transform(f: (K, V) => V): MapOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use mapValuesInPlace instead
Inherited from:
MapOps
def updated[V1 >: V](key: K, value: V1): CC[K, V1]

Attributes

Deprecated
[Since version 2.13.0] Use m.clone().addOne((k,v)) instead of m.updated(k, v)
Inherited from:
MapOps
def view(from: Int, until: Int): View[A]

Attributes

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