Packages

  • package root

    ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8.

    ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.

    Package Structure

    ScalaFX package structure corresponds to JavaFX package structure, for instance scalafx.animation corresponds to javafx.animation.

    Example Usage

    A basic ScalaFX application is created creating an object that is an instance of JFXApp. Following Java FX theatre metaphor, it contains a stage that contains a scene. A stage roughly corresponds to a window in a typical UI environment. The scene holds UI content presented to the user. In the example below, the content is a pane with a single label component.

    package hello
    
    import scalafx.application.JFXApp
    import scalafx.application.JFXApp.PrimaryStage
    import scalafx.geometry.Insets
    import scalafx.scene.Scene
    import scalafx.scene.control.Label
    import scalafx.scene.layout.BorderPane
    
    object HelloWorld extends JFXApp {
      stage = new PrimaryStage {
        title = "Hello"
        scene = new Scene {
          root = new BorderPane {
            padding = Insets(25)
            center = new Label("Hello World")
          }
        }
      }
    }
    Definition Classes
    root
  • package scalafx

    Base package for ScalaFX classes.

    Base package for ScalaFX classes.

    Definition Classes
    root
  • package collections

    Wraps javafx.collections package, adding Scala's collections features to original JavaFX collections.

    Wraps javafx.collections package, adding Scala's collections features to original JavaFX collections.

    Definition Classes
    scalafx
  • package transformation
    Definition Classes
    collections
  • CollectionIncludes
  • ObservableArray
  • ObservableBuffer
  • ObservableBufferBase
  • ObservableFloatArray
  • ObservableHashMap
  • ObservableHashSet
  • ObservableIntegerArray
  • ObservableMap
  • ObservableSet
c

scalafx.collections

ObservableHashMap

class ObservableHashMap[K, V] extends ObservableMap[K, V]

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

Source
ObservableMap.scala
Linear Supertypes
ObservableMap[K, V], Observable, SFXDelegate[javafx.collections.ObservableMap[K, V]], StrictOptimizedIterableOps[(K, V), Iterable, ObservableMap[K, V]], Map[K, V], MapOps[K, V, Map, ObservableMap[K, V]], Shrinkable[K], Builder[(K, V), ObservableMap[K, V]], Growable[(K, V)], Clearable, Cloneable[ObservableMap[K, V]], Cloneable, Map[K, V], Equals, MapFactoryDefaults[K, V, [x, y]ObservableMap[x, y], [x]Iterable[x]], MapOps[K, V, [_, _]ObservableMap[_, _], ObservableMap[K, V]], PartialFunction[K, V], (K) => V, Iterable[(K, V)], Iterable[(K, V)], IterableFactoryDefaults[(K, V), [x]Iterable[x]], IterableOps[(K, V), [_]Iterable[_], ObservableMap[K, V]], IterableOnceOps[(K, V), [_]Iterable[_], ObservableMap[K, V]], IterableOnce[(K, V)], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObservableHashMap
  2. ObservableMap
  3. Observable
  4. SFXDelegate
  5. StrictOptimizedIterableOps
  6. Map
  7. MapOps
  8. Shrinkable
  9. Builder
  10. Growable
  11. Clearable
  12. Cloneable
  13. Cloneable
  14. Map
  15. Equals
  16. MapFactoryDefaults
  17. MapOps
  18. PartialFunction
  19. Function1
  20. Iterable
  21. Iterable
  22. IterableFactoryDefaults
  23. IterableOps
  24. IterableOnceOps
  25. IterableOnce
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ObservableHashMap(delegate: javafx.collections.ObservableMap[K, V] = jfxc.FXCollections.observableMap(new ju.HashMap[K, V]))

    delegate

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

Type Members

  1. trait GenKeySet extends AnyRef
    Attributes
    protected
    Definition Classes
    MapOps
  2. class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++[V2 >: V](xs: IterableOnce[(K, V2)]): ObservableMap[K, V2]
    Definition Classes
    MapOps
  4. final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  5. final def ++=(xs: IterableOnce[(K, V)]): ObservableHashMap.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  6. final def +=(elem: (K, V)): ObservableHashMap.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  7. final def --=(xs: IterableOnce[K]): ObservableHashMap.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  8. final def -=(elem: K): ObservableHashMap.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def addAll(xs: IterableOnce[(K, V)]): ObservableHashMap.this.type
    Definition Classes
    Growable
  11. def addOne(kv: (K, V)): ObservableHashMap.this.type

    Adds a new key/value pair to this Map.

    Adds a new key/value pair to this Map.

    kv

    the key/value pair.

    returns

    The ObservableMap itself

    Definition Classes
    ObservableMap → Growable
  12. def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    MapOps → IterableOnceOps
  13. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  14. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  15. def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
    Definition Classes
    PartialFunction
  16. def andThen[C](k: (V) => C): PartialFunction[K, C]
    Definition Classes
    PartialFunction → Function1
  17. def apply(key: K): V
    Definition Classes
    MapOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  18. def applyOrElse[K1 <: K, V1 >: V](x: K1, default: (K1) => V1): V1
    Definition Classes
    MapOps → PartialFunction
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def canEqual(that: Any): Boolean
    Definition Classes
    Map → Equals
  21. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  22. def clear(): Unit

    Removes all elements from the Map.

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

    Definition Classes
    ObservableMap → MapOps → Builder → Clearable
  23. def clone(): ObservableMap[K, V]
    Definition Classes
    MapOps → Cloneable → AnyRef
  24. final def coll: ObservableHashMap.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  25. def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  26. def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): ObservableMap[K2, V2]
    Definition Classes
    MapOps
  27. def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
    Definition Classes
    IterableOnceOps
  28. def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
    Definition Classes
    PartialFunction
  29. def compose[A](g: (A) => K): (A) => V
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  30. def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): ObservableMap[K, V2]
    Definition Classes
    MapOps
  31. def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  32. def contains(key: K): Boolean
    Definition Classes
    MapOps
  33. def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  34. def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  35. def copyToArray[B >: (K, V)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  36. def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  37. def count(p: ((K, V)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  38. def default(key: K): V
    Definition Classes
    MapOps
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  39. val delegate: javafx.collections.ObservableMap[K, V]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    ObservableHashMapSFXDelegate
  40. def drop(n: Int): ObservableMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  41. def dropRight(n: Int): ObservableMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  42. def dropWhile(p: ((K, V)) => Boolean): ObservableMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  43. def elementWise: ElementWiseExtractor[K, V]
    Definition Classes
    PartialFunction
  44. def empty: ObservableHashMap[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
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(ref: Any): Boolean

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  47. def exists(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  48. def filter(pred: ((K, V)) => Boolean): ObservableMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  49. def filterImpl(pred: ((K, V)) => Boolean, isFlipped: Boolean): ObservableMap[K, V]
    Attributes
    protected[collection]
    Definition Classes
    StrictOptimizedIterableOps
  50. def filterInPlace(p: (K, V) => Boolean): ObservableHashMap.this.type
    Definition Classes
    MapOps
  51. def filterNot(pred: ((K, V)) => Boolean): ObservableMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  52. def find(p: ((K, V)) => Boolean): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  53. def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  54. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): ObservableMap[K2, V2]
    Definition Classes
    MapOps
  55. def flatten[B](implicit toIterableOnce: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  56. def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  57. def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  58. def foldRight[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  59. def forall(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  60. def foreach[U](f: ((K, V)) => U): Unit
    Definition Classes
    IterableOnceOps
  61. def foreachEntry[U](f: (K, V) => U): Unit
    Definition Classes
    MapOps
  62. def fromSpecific(coll: IterableOnce[(K, V)]): ObservableMap[K, V]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  63. def get(key: K): Option[V]

    Optionally returns the value associated with a key.

    Optionally returns the value associated with a key.

    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
  64. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. def getOrElse[V1 >: V](key: K, default: => V1): V1
    Definition Classes
    MapOps
  66. def getOrElseUpdate(key: K, op: => V): V
    Definition Classes
    MapOps
  67. def groupBy[K](f: ((K, V)) => K): Map[K, ObservableMap[K, V]]
    Definition Classes
    IterableOps
  68. def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  69. def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  70. def grouped(size: Int): Iterator[ObservableMap[K, V]]
    Definition Classes
    IterableOps
  71. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  72. def head: (K, V)
    Definition Classes
    IterableOps
  73. def headOption: Option[(K, V)]
    Definition Classes
    IterableOps
  74. def init: ObservableMap[K, V]
    Definition Classes
    IterableOps
  75. def inits: Iterator[ObservableMap[K, V]]
    Definition Classes
    IterableOps
  76. def isDefinedAt(key: K): Boolean
    Definition Classes
    MapOps → PartialFunction
  77. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  78. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  79. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  80. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → Iterable → IterableOps
  81. 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.

    Definition Classes
    ObservableMap → IterableOnce
  82. def keySet: Set[K]
    Definition Classes
    MapOps
  83. def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
    Definition Classes
    MapOps
  84. def keys: Iterable[K]
    Definition Classes
    MapOps
  85. def keysIterator: Iterator[K]
    Definition Classes
    MapOps
  86. def knownSize: Int
    Definition Classes
    MapOps → Growable → IterableOnce
  87. def last: (K, V)
    Definition Classes
    IterableOps
  88. def lastOption: Option[(K, V)]
    Definition Classes
    IterableOps
  89. def lazyZip[B](that: Iterable[B]): LazyZip2[(K, V), B, ObservableHashMap.this.type]
    Definition Classes
    Iterable
  90. def lift: (K) => Option[V]
    Definition Classes
    PartialFunction
  91. def map[B](f: ((K, V)) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  92. def map[K2, V2](f: ((K, V)) => (K2, V2)): ObservableMap[K2, V2]
    Definition Classes
    MapOps
  93. def mapFactory: MapFactory[ObservableMap]
    Definition Classes
    ObservableMap → Map → Map → MapOps
  94. final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): ObservableMap[K2, V2]
    Attributes
    protected
    Definition Classes
    MapOps
    Annotations
    @inline()
  95. def mapResult[NewTo](f: (ObservableMap[K, V]) => NewTo): Builder[(K, V), NewTo]
    Definition Classes
    Builder
  96. def mapValuesInPlace(f: (K, V) => V): ObservableHashMap.this.type
    Definition Classes
    MapOps
  97. def max[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  98. def maxBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  99. def maxByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  100. def maxOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  101. def min[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  102. def minBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  103. def minByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  104. def minOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  105. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  106. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  107. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  108. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  109. def newSpecificBuilder: Builder[(K, V), ObservableMap[K, V]]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  110. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  111. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  112. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  113. def onChange(op: => Unit): Subscription

    Add a listener function to Map's changes.

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

    op

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

    Definition Classes
    ObservableMap
  114. def onChange(op: (ObservableMap[K, V], Change[K, V]) => Unit): Subscription

    Add a listener function to Map's changes.

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

    op

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

    Definition Classes
    ObservableMap
  115. def onInvalidate(op: => Unit): Subscription

    Adds a no argument function as a JavaFX InvalidationListener.

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

    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.

    Definition Classes
    Observable
  116. def onInvalidate(op: (Observable) => Unit): Subscription

    Adds a function as a JavaFX InvalidationListener.

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

    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.

    Definition Classes
    Observable
  117. def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  118. def partition(p: ((K, V)) => Boolean): (ObservableMap[K, V], ObservableMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  119. def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  120. def product[B >: (K, V)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  121. def put(key: K, value: V): Option[V]
    Definition Classes
    MapOps
  122. def reduce[B >: (K, V)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  123. def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  124. def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  125. def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  126. def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  127. def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  128. def remove(key: K): Option[V]
    Definition Classes
    MapOps
  129. 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
  130. def reversed: Iterable[(K, V)]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  131. def runWith[U](action: (V) => U): (K) => Boolean
    Definition Classes
    PartialFunction
  132. def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  133. def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  134. def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
    Definition Classes
    IterableOps
  135. def size: Int

    This Map's size.

    This Map's size.

    returns

    This Map's size.

    Definition Classes
    ObservableMap → IterableOnceOps
  136. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  137. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  138. final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
    Definition Classes
    Builder
  139. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  140. final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
    Definition Classes
    Builder
  141. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  142. def slice(from: Int, until: Int): ObservableMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  143. def sliding(size: Int, step: Int): Iterator[ObservableMap[K, V]]
    Definition Classes
    IterableOps
  144. def sliding(size: Int): Iterator[ObservableMap[K, V]]
    Definition Classes
    IterableOps
  145. def span(p: ((K, V)) => Boolean): (ObservableMap[K, V], ObservableMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  146. def splitAt(n: Int): (ObservableMap[K, V], ObservableMap[K, V])
    Definition Classes
    IterableOps → IterableOnceOps
  147. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
    Definition Classes
    IterableOnce
  148. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[(K, V), B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  149. final def strictOptimizedConcat[B >: (K, V), C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  150. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: ((K, V)) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  151. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: ((K, V)) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  152. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: ((K, V)) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  153. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[((K, V), B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  154. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Map → Iterable
  155. def subtractAll(xs: IterableOnce[K]): ObservableHashMap.this.type
    Definition Classes
    Shrinkable
  156. def subtractOne(key: K): ObservableHashMap.this.type

    Removes a key from this Map.

    Removes a key from this Map.

    key

    the key to be removed

    returns

    The ObservableMap itself.

    Definition Classes
    ObservableMap → Shrinkable
  157. def sum[B >: (K, V)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  158. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  159. def tail: ObservableMap[K, V]
    Definition Classes
    IterableOps
  160. def tails: Iterator[ObservableMap[K, V]]
    Definition Classes
    IterableOps
  161. def take(n: Int): ObservableMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  162. def takeRight(n: Int): ObservableMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  163. def takeWhile(p: ((K, V)) => Boolean): ObservableMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  164. def tapEach[U](f: ((K, V)) => U): ObservableMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  165. def to[C1](factory: Factory[(K, V), C1]): C1
    Definition Classes
    IterableOnceOps
  166. def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  167. final def toBuffer[B >: (K, V)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  168. def toIndexedSeq: IndexedSeq[(K, V)]
    Definition Classes
    IterableOnceOps
  169. final def toIterable: ObservableHashMap.this.type
    Definition Classes
    Iterable → IterableOps
  170. def toList: List[(K, V)]
    Definition Classes
    IterableOnceOps
  171. def toMap[K, V](implicit ev: <:<[(K, V), (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  172. def toSeq: Seq[(K, V)]
    Definition Classes
    IterableOnceOps
  173. def toSet[B >: (K, V)]: Set[B]
    Definition Classes
    IterableOnceOps
  174. def toString(): String

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  175. def toVector: Vector[(K, V)]
    Definition Classes
    IterableOnceOps
  176. def transpose[B](implicit asIterable: ((K, V)) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  177. def unapply(a: K): Option[V]
    Definition Classes
    PartialFunction
  178. def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  179. def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  180. def update(key: K, value: V): Unit
    Definition Classes
    MapOps
  181. def updateWith(key: K)(remappingFunction: (Option[V]) => Option[V]): Option[V]
    Definition Classes
    MapOps
  182. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
    Definition Classes
    MapOps
  183. def values: Iterable[V]
    Definition Classes
    MapOps
  184. def valuesIterator: Iterator[V]
    Definition Classes
    MapOps
  185. def view: MapView[K, V]
    Definition Classes
    MapOps → IterableOps
  186. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  187. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  188. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  189. def withDefault(d: (K) => V): Map[K, V]
    Definition Classes
    Map
  190. def withDefaultValue(d: V): Map[K, V]
    Definition Classes
    Map
  191. def withFilter(p: ((K, V)) => Boolean): WithFilter[K, V, [x]Iterable[x], [x, y]ObservableMap[x, y]]
    Definition Classes
    MapFactoryDefaults → IterableOps
  192. def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  193. def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  194. def zipWithIndex: Iterable[((K, V), Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): ObservableMap[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def +[V1 >: V](kv: (K, V1)): ObservableMap[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Map or fall back to Map.concat.

  3. def ++:[V1 >: V](that: IterableOnce[(K, V1)]): ObservableMap[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  4. def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  5. final def +=(elem1: (K, V), elem2: (K, V), elems: (K, V)*): ObservableHashMap.this.type
    Definition Classes
    Growable
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use ++= aka addAll instead of varargs +=; infix operations with an operand of multiple args will be deprecated

  6. final def -(key1: K, key2: K, keys: K*): ObservableMap[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -- or removeAll on an immutable Map

  7. final def -(key: K): ObservableMap[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use - or remove on an immutable Map

  8. def --(keys: IterableOnce[K]): ObservableMap[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Map.

  9. def -=(elem1: K, elem2: K, elems: K*): ObservableHashMap.this.type
    Definition Classes
    Shrinkable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use --= aka subtractAll instead of varargs -=; infix operations with an operand of multiple args will be deprecated

  10. final def /:[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  11. final def :\[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  12. def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  13. def companion: IterableFactory[[_]Iterable[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  14. final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  15. def filterKeys(p: (K) => Boolean): MapView[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    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).

  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  17. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  18. def mapValues[W](f: (V) => W): MapView[K, W]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    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).

  19. final def repr: ObservableMap[K, V]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  20. final def retain(p: (K, V) => Boolean): ObservableHashMap.this.type
    Definition Classes
    MapOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use filterInPlace instead

  21. def seq: ObservableHashMap.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  22. final def toIterator: Iterator[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  23. final def toStream: Stream[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  24. final def toTraversable: Traversable[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  25. final def transform(f: (K, V) => V): ObservableHashMap.this.type
    Definition Classes
    MapOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use mapValuesInPlace instead

  26. def updated[V1 >: V](key: K, value: V1): Map[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use m.clone().addOne((k,v)) instead of m.updated(k, v)

  27. def view(from: Int, until: Int): View[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from ObservableMap[K, V]

Inherited from Observable

Inherited from SFXDelegate[javafx.collections.ObservableMap[K, V]]

Inherited from StrictOptimizedIterableOps[(K, V), Iterable, ObservableMap[K, V]]

Inherited from Map[K, V]

Inherited from MapOps[K, V, Map, ObservableMap[K, V]]

Inherited from Shrinkable[K]

Inherited from Builder[(K, V), ObservableMap[K, V]]

Inherited from Growable[(K, V)]

Inherited from Clearable

Inherited from Cloneable[ObservableMap[K, V]]

Inherited from Cloneable

Inherited from Map[K, V]

Inherited from Equals

Inherited from MapFactoryDefaults[K, V, [x, y]ObservableMap[x, y], [x]Iterable[x]]

Inherited from MapOps[K, V, [_, _]ObservableMap[_, _], ObservableMap[K, V]]

Inherited from PartialFunction[K, V]

Inherited from (K) => V

Inherited from Iterable[(K, V)]

Inherited from Iterable[(K, V)]

Inherited from IterableFactoryDefaults[(K, V), [x]Iterable[x]]

Inherited from IterableOps[(K, V), [_]Iterable[_], ObservableMap[K, V]]

Inherited from IterableOnceOps[(K, V), [_]Iterable[_], ObservableMap[K, V]]

Inherited from IterableOnce[(K, V)]

Inherited from AnyRef

Inherited from Any

Ungrouped