final case class ConcurrentHMap[R[_, _]] extends Product with Serializable

This class provides a mutable, thread safe, version of shapeless HMap.

Type safety is only guaranteed by the ev parameters that is passed to various methods. Because of that, default constructors of the class are disabled via the private keyword.

In order to have type safety, the relation R must satisfy the following:

- R be single-valued: if R[A, B1] and R[A, B2] are defined, then we should have B1 = B2.

- If there is evidence for R[A1, B1] and R[A2, B2] for different B1 and B2, then for all non-null values x1: A1 and x2: A2, we must have x1 != x2.

See tests for counter-examples.

Annotations
@SuppressWarnings() @nowarn()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConcurrentHMap
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def get[K, V](k: K)(implicit ev: R[K, V]): Option[V]
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getOrElseUpdate[K, V](k: K, v: => V)(implicit ev: R[K, V]): V
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. def putIfAbsent[K, V](k: K, v: V)(implicit ev: R[K, V]): Option[V]
  16. def put_[K, V](k: K, v: V)(implicit ev: R[K, V]): Unit
  17. def remove[K, V](k: K)(implicit ev: R[K, V]): Option[V]
  18. def remove_[K](k: K): Unit
  19. def replace_[K, V](k: K, v: V)(implicit ev: R[K, V]): Unit
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val underlying: Map[Any, Any]
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped