MapEvent

sealed interface MapEvent<out K : Any, out V : Any> : Serializable(source)

Events representing a mutation to a Map.

Unlike SimpleMapEvent.EntryEvent - EntryEvent carries the old value.

This does not support maps with null values or keys, consider using java.util.Optional if this is required.

Inheritors

Types

Link copied to clipboard
sealed interface EntryEvent<out K : Any, out V : Any> : MapEvent<K, V>

Mutation event for a specific entry.

Link copied to clipboard

Indicates that a consistent view of the map has been emitted and only updates will be seen from now on.