E - Тип элемента коллецииpublic class IndexEventList<E> extends BasicEventList<E>
| Метод | Сообщение |
| add(E e) | AddedPositionalItemEvent<E, EventList<E>> |
| add(int index, E e) | AddedPositionalItemEvent<E, EventList<E>, Integer> |
| addAll(Collection<? extends E> c) | AddedPositionalItemEvent<E, EventList<E>> |
| addAll(int index, Collection<? extends E> c) | AddedPositionalItemEvent<E, EventList<E>, Integer> |
| clear() | RemovedPositionalEvent<E, EventList<E>> |
| remove(Object o) | RemovedPositionalEvent<E, EventList<E>> |
| remove(int index) | RemovedPositionalItemEvent<E, EventList<E>, Integer> |
| removeAll(Collection<?> c) | RemovedPositionalEvent<E, EventList<E>> |
| retainAll(Collection<?> c) | RemovedPositionalEvent<E, EventList<E>> |
| set(int index, E element) | UpdatedPositionalItemEvent<E, EventList<E>,Integer> |
eventQueue, listeners| Constructor and Description |
|---|
IndexEventList() |
IndexEventList(List<E> list)
Конструктор.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Добавление объекта в список
|
protected boolean |
add0(E e) |
Iterator<E> |
iterator() |
protected Iterator<E> |
iterator0() |
E |
remove(int index)
Удаление объекта из списка.
|
boolean |
remove(Object o)
Удаление объекта из списка
|
protected E |
remove0(int index) |
protected boolean |
remove0(Object o) |
boolean |
removeAll(Collection<?> c)
Удаляет группу указанных объектов из списка.
|
protected boolean |
removeAll0(Collection<?> c) |
boolean |
retainAll(Collection<?> c)
Удаляет объекты из списка, не входящиие в указанную группу объектов.
|
protected boolean |
retainAll0(Collection<?> c) |
add, add0, addAll, addAll, addAll0, addAll0, addEventListListener, addEventListListener, addEventToQueue, clear, clear0, contains, containsAll, containsEventListListener, fireEventListMessage, fireQueueEvents, fireQueueEvents0, get, getListenersHelper, getWrappedList, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, listIterator0, listIterator0, lockRun, lockRun, onAdded, onAdding, onChanged, onChanged, onChanging, onChanging, onDeleted, onDeleted, onDeleting, onDeleting, onInserted, onInserted, onInserting, onInserting, onRemoved, onRemoving, onUpdated, onUpdated, onUpdating, onUpdating, removeEventListListener, set, set0, setWrappedList, size, subList, subList0, toArray, toArraytoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic IndexEventList()
public IndexEventList(List<E> list) throws NullPointerException
list - Обвараичваемый списокNullPointerException - если list==nullpublic boolean add(E e)
add in interface Collection<E>add in interface List<E>add in class BasicEventList<E>e - Объектprotected boolean add0(E e)
add0 in class BasicEventList<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>remove in class BasicEventList<E>o - ОбъектRemovedItemEventprotected boolean remove0(Object o)
remove0 in class BasicEventList<E>public E remove(int index)
remove in interface List<E>remove in class BasicEventList<E>index - Индекс элементаRemovedPositionalItemEventprotected E remove0(int index)
remove0 in class BasicEventList<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>removeAll in class BasicEventList<E>c - Группа объектовremove(java.lang.Object),
RemovedItemEventprotected boolean removeAll0(Collection<?> c)
removeAll0 in class BasicEventList<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>retainAll in class BasicEventList<E>c - Группа объектовRemovedPositionalItemEventprotected boolean retainAll0(Collection<?> c)
retainAll0 in class BasicEventList<E>protected Iterator<E> iterator0()
iterator0 in class BasicEventList<E>Copyright © 2017. All rights reserved.