KeyMapImpl

trait KeyMapImpl[T <: Txn[T], Key, Value]

Common building block for implementing reactive maps where the key is a constant element (that is, it does not require updating such as an Ident[T]).

Type Params
Key

the type of key, such as String

Value

the value type, which has an event attached to it (found via valueInfo)

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

final
def add(key: Key, value: Value)(implicit tx: T): Unit
final
def get(key: Key)(implicit tx: T): Option[Value]
final
def iterator(implicit tx: T): Iterator[(Key, Value)]
final
def keys(implicit tx: T): Set[Key]
final
def remove(key: Key)(implicit tx: T): Boolean