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