public class EventGeneratingLinkedList<E> extends LinkedList<E> implements EventGeneratingList<E>
modCount| Constructor and Description |
|---|
EventGeneratingLinkedList() |
EventGeneratingLinkedList(Collection<E> c) |
EventGeneratingLinkedList(E[] c) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
addListener(ListListener listener) |
void |
clear() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
void |
removeListener(ListListener listener) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element) |
addFirst, addLast, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, replaceAll, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic EventGeneratingLinkedList()
public EventGeneratingLinkedList(Collection<E> c)
public EventGeneratingLinkedList(E[] c)
public void addListener(ListListener listener)
addListener in interface EventGeneratingList<E>public void removeListener(ListListener listener)
removeListener in interface EventGeneratingList<E>public void add(int index,
E element)
public void clear()
clear in interface Collection<E>clear in interface List<E>clear in class LinkedList<E>public boolean add(E o)
public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>addAll in class LinkedList<E>public boolean addAll(int index,
Collection<? extends E> c)
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>removeAll in class AbstractCollection<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>retainAll in class AbstractCollection<E>Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.