ObservableHashMap

class ObservableHashMap[K, V](val delegate: ObservableMap[K, V]) extends ObservableMap[K, V]

scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.

scalafx.collections.ObservableMap implementation backed for a `HashMap` from Java Collection.

Value Params
delegate

JavaFX `ObservableMap` instance to be wrapped by this class. By default it is a `HashMap` wrapped by `observableMap` method from `FXCollections`.

trait ObservableMap[K, V]
trait SFXDelegate[ObservableMap[K, V]]
trait StrictOptimizedIterableOps[(K, V), Iterable, 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 MapFactoryDefaults[K, V, [K, V] =>> ObservableMap[K, V], Iterable]
trait MapOps[K, V, [K, V] =>> ObservableMap[K, V], ObservableMap[K, V]]
trait PartialFunction[K, V]
trait K => V
trait Iterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), [A] =>> Iterable[A]]
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

Value members

Inherited methods

@inline
final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def ++[V2 >: V](xs: IterableOnce[(K, V2)]): ObservableMap[K, V2]
Inherited from
MapOps
@inline
final def ++=(xs: IterableOnce[(K, V)]): ObservableHashMap[K, V]
Inherited from
Growable
@inline
final def +=(elem: (K, V)): ObservableHashMap[K, V]
Inherited from
Growable
@inline
final def --=(xs: IterableOnce[K]): ObservableHashMap[K, V]
Inherited from
Shrinkable
@inline
final def -=(elem: K): ObservableHashMap[K, V]
Inherited from
Shrinkable
Inherited from
Cloneable
def addAll(xs: IterableOnce[(K, V)]): ObservableHashMap[K, V]
Inherited from
Growable
override def addOne(kv: (K, V)): ObservableHashMap[K, V]

Adds a new key/value pair to this Map.

Adds a new key/value pair to this Map.

Value Params
kv

the key/value pair.

Returns

The ObservableMap itself

Definition Classes
ObservableMap -> Growable
Inherited from
ObservableMap
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from
IterableOnceOps
override def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
Definition Classes
MapOps -> IterableOnceOps
Inherited from
MapOps
def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
Inherited from
PartialFunction
override def andThen[C](k: V => C): PartialFunction[K, C]
Definition Classes
PartialFunction -> Function1
Inherited from
PartialFunction
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def apply(key: K): V
Inherited from
MapOps
override def applyOrElse[K1 <: K, V1 >: V](x: K1, default: K1 => V1): V1
Definition Classes
MapOps -> PartialFunction
Inherited from
MapOps
def canEqual(that: Any): Boolean
Inherited from
Map
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.

Definition Classes
ObservableMap -> MapOps -> Builder -> Clearable
Inherited from
ObservableMap
override def clone(): ObservableMap[K, V]
Definition Classes
MapOps -> Cloneable -> Object
Inherited from
MapOps
override def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): ObservableMap[K2, V2]
Inherited from
MapOps
def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
Inherited from
IterableOnceOps
def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
Inherited from
PartialFunction
@unspecialized
def compose[A](g: A => K): A => V
Inherited from
Function1
def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): ObservableMap[K, V2]
Inherited from
MapOps
def contains(key: K): Boolean
Inherited from
MapOps
def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: (K, V)](xs: Array[B]): Int
Inherited from
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
Inherited from
IterableOnceOps
def count(p: (K, V) => Boolean): Int
Inherited from
IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def default(key: K): V
Inherited from
MapOps
def drop(n: Int): ObservableMap[K, V]
Inherited from
IterableOps
override def dropRight(n: Int): ObservableMap[K, V]
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
def dropWhile(p: (K, V) => Boolean): ObservableMap[K, V]
Inherited from
IterableOps
def elementWise: ElementWiseExtractor[K, V]
Inherited from
PartialFunction
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.

Returns

An empty ObservableMap

Definition Classes
ObservableMap -> MapFactoryDefaults -> IterableFactoryDefaults -> IterableOps
Inherited from
ObservableMap
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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
def exists(p: (K, V) => Boolean): Boolean
Inherited from
IterableOnceOps
override def filter(pred: (K, V) => Boolean): ObservableMap[K, V]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def filterInPlace(p: (K, V) => Boolean): ObservableHashMap[K, V]
Inherited from
MapOps
override def filterNot(pred: (K, V) => Boolean): ObservableMap[K, V]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def find(p: (K, V) => Boolean): Option[(K, V)]
Inherited from
IterableOnceOps
override def flatMap[B](f: (K, V) => IterableOnce[B]): Iterable[B]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def flatMap[K2, V2](f: (K, V) => IterableOnce[(K2, V2)]): ObservableMap[K2, V2]
Inherited from
MapOps
override def flatten[B](toIterableOnce: (K, V) => IterableOnce[B]): Iterable[B]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
Inherited from
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
Inherited from
IterableOnceOps
def foldRight[B](z: B)(op: ((K, V), B) => B): B
Inherited from
IterableOnceOps
def forall(p: (K, V) => Boolean): Boolean
Inherited from
IterableOnceOps
def foreach[U](f: (K, V) => U): Unit
Inherited from
IterableOnceOps
def foreachEntry[U](f: (K, V) => U): Unit
Inherited from
MapOps
override protected def fromSpecific(coll: IterableOnce[(K, V)]): ObservableMap[K, V]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
override def get(key: K): Option[V]

Optionally returns the value associated with a key.

Optionally returns the value associated with a key.

Value Params
key

the key value

Returns

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

Definition Classes
ObservableMap -> MapOps
Inherited from
ObservableMap
def getOrElse[V1 >: V](key: K, default: => V1): V1
Inherited from
MapOps
def getOrElseUpdate(key: K, op: => V): V
Inherited from
MapOps
def groupBy[K](f: (K, V) => K): Map[K, ObservableMap[K, V]]
Inherited from
IterableOps
def groupMap[K, B](key: (K, V) => K)(f: (K, V) => B): Map[K, Iterable[B]]
Inherited from
IterableOps
def groupMapReduce[K, B](key: (K, V) => K)(f: (K, V) => B)(reduce: (B, B) => B): Map[K, B]
Inherited from
IterableOps
def grouped(size: Int): Iterator[ObservableMap[K, V]]
Inherited from
IterableOps
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
def head: (K, V)
Inherited from
IterableOps
def headOption: Option[(K, V)]
Inherited from
IterableOps
def init: ObservableMap[K, V]
Inherited from
IterableOps
def inits: Iterator[ObservableMap[K, V]]
Inherited from
IterableOps
def isDefinedAt(key: K): Boolean
Inherited from
MapOps
def isEmpty: Boolean
Inherited from
IterableOnceOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
override def iterableFactory: IterableFactory[[A] =>> Iterable[A]]
Definition Classes
Iterable -> Iterable -> IterableOps
Inherited from
Iterable
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.

Returns

The new iterator.

Inherited from
ObservableMap
def keySet: Set[K]
Inherited from
MapOps
def keyStepper[S <: Stepper[_]](shape: StepperShape[K, S]): S
Inherited from
MapOps
def keys: Iterable[K]
Inherited from
MapOps
def keysIterator: Iterator[K]
Inherited from
MapOps
override def knownSize: Int
Definition Classes
MapOps -> Growable -> IterableOnce
Inherited from
MapOps
def last: (K, V)
Inherited from
IterableOps
def lastOption: Option[(K, V)]
Inherited from
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[(K, V), B, ObservableHashMap[K, V]]
Inherited from
Iterable
def lift: K => Option[V]
Inherited from
PartialFunction
override def map[B](f: (K, V) => B): Iterable[B]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def map[K2, V2](f: (K, V) => (K2, V2)): ObservableMap[K2, V2]
Inherited from
MapOps
override def mapFactory: MapFactory[[K, V] =>> ObservableMap[K, V]]
Definition Classes
ObservableMap -> Map -> Map -> MapOps
Inherited from
ObservableMap
def mapResult[NewTo](f: ObservableMap[K, V] => NewTo): Builder[(K, V), NewTo]
Inherited from
Builder
def mapValuesInPlace(f: (K, V) => V): ObservableHashMap[K, V]
Inherited from
MapOps
def max[B >: (K, V)](ord: Ordering[B]): (K, V)
Inherited from
IterableOnceOps
def maxBy[B](f: (K, V) => B)(cmp: Ordering[B]): (K, V)
Inherited from
IterableOnceOps
def maxByOption[B](f: (K, V) => B)(cmp: Ordering[B]): Option[(K, V)]
Inherited from
IterableOnceOps
def maxOption[B >: (K, V)](ord: Ordering[B]): Option[(K, V)]
Inherited from
IterableOnceOps
def min[B >: (K, V)](ord: Ordering[B]): (K, V)
Inherited from
IterableOnceOps
def minBy[B](f: (K, V) => B)(cmp: Ordering[B]): (K, V)
Inherited from
IterableOnceOps
def minByOption[B](f: (K, V) => B)(cmp: Ordering[B]): Option[(K, V)]
Inherited from
IterableOnceOps
def minOption[B >: (K, V)](ord: Ordering[B]): Option[(K, V)]
Inherited from
IterableOnceOps
@inline
final def mkString: String
Inherited from
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from
IterableOnceOps
override protected def newSpecificBuilder: Builder[(K, V), ObservableMap[K, V]]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
def nonEmpty: Boolean
Inherited from
IterableOnceOps
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 Params
op

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

Inherited from
ObservableMap
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 Params
op

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

Inherited from
ObservableMap
def onInvalidate(op: => Unit): Subscription

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 Params
op

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

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 Params
op

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

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]
Inherited from
PartialFunction
override def partition(p: (K, V) => Boolean): (ObservableMap[K, V], ObservableMap[K, V])
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
override def partitionMap[A1, A2](f: (K, V) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
def product[B >: (K, V)](num: Numeric[B]): B
Inherited from
IterableOnceOps
def put(key: K, value: V): Option[V]
Inherited from
MapOps
def reduce[B >: (K, V)](op: (B, B) => B): B
Inherited from
IterableOnceOps
def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
Inherited from
IterableOnceOps
def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
Inherited from
IterableOnceOps
def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
Inherited from
IterableOnceOps
def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
Inherited from
IterableOnceOps
def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
Inherited from
IterableOnceOps
def remove(key: K): Option[V]
Inherited from
MapOps
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.

Definition Classes
ObservableMap -> MapOps -> Builder
Inherited from
ObservableMap
protected def reversed: Iterable[(K, V)]
Inherited from
IterableOnceOps
def runWith[U](action: V => U): K => Boolean
Inherited from
PartialFunction
def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
Inherited from
IterableOps
override def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
Inherited from
IterableOps
override def size: Int

This Map's size.

This Map's size.

Returns

This Map's size.

Definition Classes
ObservableMap -> IterableOnceOps
Inherited from
ObservableMap
def sizeCompare(that: Iterable[_]): Int
Inherited from
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from
IterableOps
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
Inherited from
Builder
def sizeHint(size: Int): Unit
Inherited from
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
Inherited from
Builder
@inline
final def sizeIs: SizeCompareOps
Inherited from
IterableOps
def slice(from: Int, until: Int): ObservableMap[K, V]
Inherited from
IterableOps
def sliding(size: Int, step: Int): Iterator[ObservableMap[K, V]]
Inherited from
IterableOps
def sliding(size: Int): Iterator[ObservableMap[K, V]]
Inherited from
IterableOps
override def span(p: (K, V) => Boolean): (ObservableMap[K, V], ObservableMap[K, V])
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
override def splitAt(n: Int): (ObservableMap[K, V], ObservableMap[K, V])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def stepper[S <: Stepper[_]](shape: StepperShape[(K, V), S]): S
Inherited from
IterableOnce
def subtractAll(xs: IterableOnce[K]): ObservableHashMap[K, V]
Inherited from
Shrinkable
override def subtractOne(key: K): ObservableHashMap[K, V]

Removes a key from this Map.

Removes a key from this Map.

Value Params
key

the key to be removed

Returns

The ObservableMap itself.

Definition Classes
ObservableMap -> Shrinkable
Inherited from
ObservableMap
def sum[B >: (K, V)](num: Numeric[B]): B
Inherited from
IterableOnceOps
def tail: ObservableMap[K, V]
Inherited from
IterableOps
def tails: Iterator[ObservableMap[K, V]]
Inherited from
IterableOps
def take(n: Int): ObservableMap[K, V]
Inherited from
IterableOps
override def takeRight(n: Int): ObservableMap[K, V]
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
def takeWhile(p: (K, V) => Boolean): ObservableMap[K, V]
Inherited from
IterableOps
override def tapEach[U](f: (K, V) => U): ObservableMap[K, V]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps
def to[C1](factory: Factory[(K, V), C1]): C1
Inherited from
IterableOnceOps
def toArray[B >: (K, V)](ClassTag[B]): Array[B]
Inherited from
IterableOnceOps
@inline
final def toBuffer[B >: (K, V)]: Buffer[B]
Inherited from
IterableOnceOps
def toIndexedSeq: IndexedSeq[(K, V)]
Inherited from
IterableOnceOps
final def toIterable: ObservableHashMap[K, V]
Inherited from
Iterable
def toList: List[(K, V)]
Inherited from
IterableOnceOps
def toMap[K, V](ev: (K, V) <:< (K, V)): Map[K, V]
Inherited from
IterableOnceOps
def toSeq: Seq[(K, V)]
Inherited from
IterableOnceOps
def toSet[B >: (K, V)]: Set[B]
Inherited from
IterableOnceOps
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate
def toVector: Vector[(K, V)]
Inherited from
IterableOnceOps
def transpose[B](asIterable: (K, V) => Iterable[B]): Iterable[Iterable[B]]
Inherited from
IterableOps
def unapply(a: K): Option[V]
Inherited from
PartialFunction
override def unzip[A1, A2](asPair: (K, V) => (A1, A2)): (Iterable[A1], Iterable[A2])
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](asTriple: (K, V) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
def update(key: K, value: V): Unit
Inherited from
MapOps
def updateWith(key: K)(remappingFunction: Option[V] => Option[V]): Option[V]
Inherited from
MapOps
def valueStepper[S <: Stepper[_]](shape: StepperShape[V, S]): S
Inherited from
MapOps
def values: Iterable[V]
Inherited from
MapOps
def valuesIterator: Iterator[V]
Inherited from
MapOps
override def view: MapView[K, V]
Definition Classes
MapOps -> IterableOps
Inherited from
MapOps
def withDefault(d: K => V): Map[K, V]
Inherited from
Map
def withDefaultValue(d: V): Map[K, V]
Inherited from
Map
override def withFilter(p: (K, V) => Boolean): WithFilter[K, V, Iterable, [K, V] =>> ObservableMap[K, V]]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
override def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from
StrictOptimizedIterableOps
def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from
IterableOps
override def zipWithIndex: Iterable[((K, V), Int)]
Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from
StrictOptimizedIterableOps

Deprecated and Inherited methods

@deprecated("Use ++ with an explicit collection argument instead of + with varargs", "2.13.0")
def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): ObservableMap[K, V1]
Deprecated
Inherited from
MapOps
@deprecated("Consider requiring an immutable Map or fall back to Map.concat.", "2.13.0")
def +[V1 >: V](kv: (K, V1)): ObservableMap[K, V1]
Deprecated
Inherited from
MapOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
Deprecated
Inherited from
IterableOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[V1 >: V](that: IterableOnce[(K, V1)]): ObservableMap[K, V1]
Deprecated
Inherited from
MapOps
@inline @deprecated("Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated", "2.13.0")
final def +=(elem1: (K, V), elem2: (K, V), elems: (K, V)*): ObservableHashMap[K, V]
Deprecated
Inherited from
Growable
@deprecated("Use -- or removeAll on an immutable Map", "2.13.0")
final def -(key1: K, key2: K, keys: K*): ObservableMap[K, V]
Deprecated
Inherited from
MapOps
@deprecated("Use - or remove on an immutable Map", "2.13.0")
final def -(key: K): ObservableMap[K, V]
Deprecated
Inherited from
MapOps
@inline @deprecated("Consider requiring an immutable Map.", "2.13.0")
def --(keys: IterableOnce[K]): ObservableMap[K, V]
Deprecated
Inherited from
MapOps
@deprecated("Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated", "2.13.3")
def -=(elem1: K, elem2: K, elems: K*): ObservableHashMap[K, V]
Deprecated
Inherited from
Shrinkable
@inline @deprecated("Use foldLeft instead of /:", "2.13.0")
final def /:[B](z: B)(op: (B, (K, V)) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
final def :\[B](z: B)(op: ((K, V), B) => B): B
Deprecated
Inherited from
IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @deprecated("Use iterableFactory instead", "2.13.0")
def companion: IterableFactory[Iterable]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).", "2.13.0")
def filterKeys(p: K => Boolean): MapView[K, V]
Deprecated
Inherited from
MapOps
@deprecated("Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).", "2.13.0")
def mapValues[W](f: V => W): MapView[K, W]
Deprecated
Inherited from
MapOps
@deprecated("Use coll instead of repr in a collection implementation, use the collection value itself from the outside", "2.13.0")
final def repr: ObservableMap[K, V]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use filterInPlace instead", "2.13.0")
final def retain(p: (K, V) => Boolean): ObservableHashMap[K, V]
Deprecated
Inherited from
MapOps
@deprecated("Iterable.seq always returns the iterable itself", "2.13.0")
Deprecated
Inherited from
Iterable
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
final def toIterator: Iterator[(K, V)]
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
final def toStream: Stream[(K, V)]
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use toIterable instead", "2.13.0")
final def toTraversable: Iterable[(K, V)]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use mapValuesInPlace instead", "2.13.0")
final def transform(f: (K, V) => V): ObservableHashMap[K, V]
Deprecated
Inherited from
MapOps
@deprecated("Use m.clone().addOne((k,v)) instead of m.updated(k, v)", "2.13.0")
def updated[V1 >: V](key: K, value: V1): Map[K, V1]
Deprecated
Inherited from
MapOps
@deprecated("Use .view.slice(from, until) instead of .view(from, until)", "2.13.0")
def view(from: Int, until: Int): View[(K, V)]
Deprecated
Inherited from
IterableOps

Concrete fields

override val delegate: ObservableMap[K, V]