class ReplicatedMultiMap[K, V] extends InternalReplicatedData

A replicated map that maps keys to values, where each key may be associated with multiple values. Effectively a ReplicatedMap with ReplicatedSet s as values.

K

The type for keys.

V

The type for values.

Source
ReplicatedMultiMap.scala
Linear Supertypes
InternalReplicatedData, javasdk.impl.replicatedentity.InternalReplicatedData, ReplicatedData, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatedMultiMap
  2. InternalReplicatedData
  3. InternalReplicatedData
  4. ReplicatedData
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final type Self = ReplicatedMultiMap[K, V]
    Definition Classes
    ReplicatedMultiMap → InternalReplicatedData

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toany2stringadd[ReplicatedMultiMap[K, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplicatedMultiMap[K, V], B)
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toArrowAssoc[ReplicatedMultiMap[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def applyDelta: PartialFunction[Delta, ReplicatedMultiMap[K, V]]
    Definition Classes
    ReplicatedMultiMap → InternalReplicatedData
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clear(): ReplicatedMultiMap[K, V]

    Remove all key-value pairs from the multi-map, leaving it empty.

    Remove all key-value pairs from the multi-map, leaving it empty.

    returns

    a new empty multi-map

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def contains(key: K): Boolean

    Check whether this multi-map contains at least one value for the given key.

    Check whether this multi-map contains at least one value for the given key.

    key

    the key of the mapping to check

    returns

    true if there is at least one key-value pair for the key

  11. def containsValue(key: K, value: V): Boolean

    Check whether this multi-map contains the given value associated with the given key.

    Check whether this multi-map contains the given value associated with the given key.

    key

    the key of the mapping to check

    value

    the value of the mapping to check

    returns

    true if the key-value pair is in this multi-map

  12. val delegate: ReplicatedMultiMapImpl[K, V]
  13. def ensuring(cond: (ReplicatedMultiMap[K, V]) => Boolean, msg: => Any): ReplicatedMultiMap[K, V]
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toEnsuring[ReplicatedMultiMap[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ReplicatedMultiMap[K, V]) => Boolean): ReplicatedMultiMap[K, V]
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toEnsuring[ReplicatedMultiMap[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): ReplicatedMultiMap[K, V]
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toEnsuring[ReplicatedMultiMap[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ReplicatedMultiMap[K, V]
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toEnsuring[ReplicatedMultiMap[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def get(key: K): Set[V]

    Get the values for the given key.

    Get the values for the given key.

    key

    the key of the mapping

    returns

    the current values at the given key, or an empty Set

  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getDelta: Delta
    Definition Classes
    InternalReplicatedData → InternalReplicatedData
  22. def hasDelta: Boolean
    Definition Classes
    InternalReplicatedData → InternalReplicatedData
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def isEmpty: Boolean

    Check whether this multi-map is empty.

    Check whether this multi-map is empty.

    returns

    true if this multi-map contains no key-value pairs

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def keySet: Set[K]

    Return the keys contained in this multi-map.

    Return the keys contained in this multi-map.

    Note that the key set contains a key if and only if this multi-map maps that key to at least one value.

    returns

    the set of keys in this multi-map

  27. def name: String
    Definition Classes
    InternalReplicatedData → InternalReplicatedData
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def put(key: K, value: V): ReplicatedMultiMap[K, V]

    Store a key-value pair, if not already present.

    Store a key-value pair, if not already present.

    key

    the key of the mapping to add to

    value

    the value to add to the mapping

    returns

    a new multi-map with the additional value, or this unchanged multi-map

  32. def putAll(key: K, values: Iterable[V]): ReplicatedMultiMap[K, V]

    Store multiple values for a key.

    Store multiple values for a key.

    key

    the key of the mapping to add to

    values

    the values to add to the mapping

    returns

    a new multi-map with the additional values, or this unchanged multi-map

  33. def remove(key: K, value: V): ReplicatedMultiMap[K, V]

    Remove a single key-value pair for the given key and value, if present.

    Remove a single key-value pair for the given key and value, if present.

    key

    the key of the mapping to remove from

    value

    the value to remove from the mapping

    returns

    a new multi-map with the removed value, or this unchanged multi-map

  34. def removeAll(key: K): ReplicatedMultiMap[K, V]

    Remove all values associated with the given key.

    Remove all values associated with the given key.

    key

    the key of the mapping to remove

    returns

    a new multi-map with the removed mapping

  35. final def resetDelta(): ReplicatedMultiMap[K, V]
    Definition Classes
    ReplicatedMultiMap → InternalReplicatedData
  36. def size: Int

    Return the number of key-value pairs in this multi-map.

    Return the number of key-value pairs in this multi-map.

    Note that this does not return the number of distinct keys, which is given by keySet().size(), but the total number of values stored in the multi-map.

    returns

    the number of key-value pairs stored in this multi-map

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toStringFormat[ReplicatedMultiMap[K, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ReplicatedMultiMap[K, V], B)
    Implicit
    This member is added by an implicit conversion from ReplicatedMultiMap[K, V] toArrowAssoc[ReplicatedMultiMap[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from InternalReplicatedData

Inherited from javasdk.impl.replicatedentity.InternalReplicatedData

Inherited from ReplicatedData

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromReplicatedMultiMap[K, V] to any2stringadd[ReplicatedMultiMap[K, V]]

Inherited by implicit conversion StringFormat fromReplicatedMultiMap[K, V] to StringFormat[ReplicatedMultiMap[K, V]]

Inherited by implicit conversion Ensuring fromReplicatedMultiMap[K, V] to Ensuring[ReplicatedMultiMap[K, V]]

Inherited by implicit conversion ArrowAssoc fromReplicatedMultiMap[K, V] to ArrowAssoc[ReplicatedMultiMap[K, V]]

Ungrouped