Interface ContainerChange<C,E>
-
- All Known Subinterfaces:
CollectionChange<C,E>
,ListChange<E>
,MapChange<K,V>
,SetChange<E>
public interface ContainerChange<C,E>
- Since:
- 1.0.0
- See Also:
ObservableEvent.getChange()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
getContainer()
int
getCount()
E
getElement(int index)
io.github.mmm.event.ChangeType
getType()
-
-
-
Method Detail
-
getContainer
C getContainer()
- Returns:
- the container that changed.
-
getType
io.github.mmm.event.ChangeType getType()
- Returns:
- the
ChangeType
as one ofChangeType.ADD
,ChangeType.UPDATE
, orChangeType.REMOVE
.
-
getElement
E getElement(int index)
-
getCount
int getCount()
- Returns:
- the number of elements that have changed.
-
-