Class RoundRobinList<E>
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.AbstractSequentialList<E>
- 
- java.util.LinkedList<E>
- 
- org.eclipse.net4j.util.concurrent.RoundRobinList<E>
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Iterable<E>,- java.util.Collection<E>,- java.util.Deque<E>,- java.util.List<E>,- java.util.Queue<E>
 
 public final class RoundRobinList<E> extends java.util.LinkedList<E>- Author:
- Eike Stepper
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description RoundRobinList()RoundRobinList(java.util.Collection<? extends E> c)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanadd(E o)booleanaddAll(int index, java.util.Collection<? extends E> c)booleanaddAll(java.util.Collection<? extends E> c)voidaddFirst(E o)voidaddLast(E o)voidclear()java.lang.Objectclone()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)Eelement()voidexecuteReads(java.lang.Runnable runnable)voidexecuteWrites(java.lang.Runnable runnable)Eget(int index)EgetFirst()EgetLast()intindexOf(java.lang.Object o)intlastIndexOf(java.lang.Object o)booleanoffer(E o)Epeek()Epoll()Eremove()Eremove(int index)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)EremoveFirst()EremoveLast()booleanretainAll(java.util.Collection<?> c)Eset(int index, E element)java.util.List<E>subList(int fromIndex, int toIndex)java.lang.Object[]toArray()<T> T[]toArray(T[] a)- 
Methods inherited from class java.util.LinkedListdescendingIterator, listIterator, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, pop, push, removeFirstOccurrence, removeLastOccurrence, size, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
RoundRobinListpublic RoundRobinList() 
 - 
RoundRobinListpublic RoundRobinList(java.util.Collection<? extends E> c) 
 
- 
 - 
Method Detail- 
executeReadspublic void executeReads(java.lang.Runnable runnable) 
 - 
executeWritespublic void executeWrites(java.lang.Runnable runnable) 
 - 
addpublic void add(int index, E element)
 - 
addpublic boolean add(E o) 
 - 
addAllpublic boolean addAll(java.util.Collection<? extends E> c) 
 - 
addAllpublic boolean addAll(int index, java.util.Collection<? extends E> c)
 - 
addFirstpublic void addFirst(E o) 
 - 
addLastpublic void addLast(E o) 
 - 
clearpublic void clear() 
 - 
clonepublic java.lang.Object clone() - Overrides:
- clonein class- java.util.LinkedList<E>
 
 - 
containspublic boolean contains(java.lang.Object o) 
 - 
containsAllpublic boolean containsAll(java.util.Collection<?> c) 
 - 
elementpublic E element() 
 - 
getpublic E get(int index) 
 - 
getFirstpublic E getFirst() 
 - 
getLastpublic E getLast() 
 - 
indexOfpublic int indexOf(java.lang.Object o) 
 - 
lastIndexOfpublic int lastIndexOf(java.lang.Object o) 
 - 
offerpublic boolean offer(E o) 
 - 
peekpublic E peek() 
 - 
pollpublic E poll() 
 - 
removepublic E remove() 
 - 
removepublic E remove(int index) 
 - 
removepublic boolean remove(java.lang.Object o) 
 - 
removeAllpublic boolean removeAll(java.util.Collection<?> c) 
 - 
removeFirstpublic E removeFirst() 
 - 
removeLastpublic E removeLast() 
 - 
retainAllpublic boolean retainAll(java.util.Collection<?> c) 
 - 
subListpublic java.util.List<E> subList(int fromIndex, int toIndex) 
 - 
toArraypublic java.lang.Object[] toArray() 
 
- 
 
-