E - Тип элемента в спискеpublic class RemovingPositionalEvent<E> extends Object implements RemovingPositionalItemEvent<E,EventList<E>,Integer>
| Modifier and Type | Field and Description |
|---|---|
protected EventList<E> |
collection |
protected E |
element |
protected Integer |
position |
| Constructor and Description |
|---|
RemovingPositionalEvent(E elem,
EventList<E> coll,
Integer pos) |
| Modifier and Type | Method and Description |
|---|---|
EventList<E> |
getCollection()
Возвращает коллекцию с которой связано сообщение
|
E |
getRemovingItem()
Указывает на удаленный/старый элемент в коллекции
|
Integer |
getRemovingItemPosition()
Указывает на позицию из которой элемент удален
|
String |
toString() |
public EventList<E> getCollection()
CollectionEventgetCollection in interface CollectionEvent<EventList<E>>public E getRemovingItem()
RemovingItemEventgetRemovingItem in interface RemovingItemEvent<E,EventList<E>>public Integer getRemovingItemPosition()
RemovingPositionalItemEventgetRemovingItemPosition in interface RemovingPositionalItemEvent<E,EventList<E>,Integer>Copyright © 2017. All rights reserved.