Interface MapChange<K,V>
-
- All Superinterfaces:
ContainerChange<Map<K,V>,V>
public interface MapChange<K,V> extends ContainerChange<Map<K,V>,V>
ContainerChangeforMaps.- Since:
- 1.0.0
- See Also:
ObservableEvent.getChange()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetKey(int index)-
Methods inherited from interface io.github.mmm.value.observable.container.ContainerChange
getContainer, getCount, getElement, getType
-
-
-
-
Method Detail
-
getKey
K getKey(int index)
- Parameters:
index- the index of the changedkeyin the range from0tocount - 1.- Returns:
- the key at the given
index. In case ofChangeType.REMOVEthe removed key, in case ofChangeType.ADDthe inserted key, and in case ofChangeType.UPDATEthe key of the updated element.
-
-