EntryEvent

sealed interface EntryEvent<out K : Any, out V : Any> : SimpleMapEvent<K, V> (source)

Mutation event for a specific entry.

Inheritors

Types

Link copied to clipboard
class Removed<out K : Any, out V : Any>(val key: K) : SimpleMapEvent.EntryEvent<K, V>

Entry with key has been removed

Link copied to clipboard
class Upsert<out K : Any, out V : Any>(val key: K, val newValue: V) : SimpleMapEvent.EntryEvent<K, V>

Entry with key has been updated to newValue.

Properties

Link copied to clipboard
abstract val key: K
Link copied to clipboard
abstract val newValue: V?