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:
Serializable,Cloneable,Iterable<E>,Collection<E>,Deque<E>,List<E>,Queue<E>
- Author:
- Eike Stepper
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidvoidvoidclear()clone()booleanbooleancontainsAll(Collection<?> c) element()voidexecuteReads(Runnable runnable) voidexecuteWrites(Runnable runnable) get(int index) getFirst()getLast()intintbooleanpeek()poll()remove()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.util.LinkedList
descendingIterator, listIterator, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, pop, push, removeFirstOccurrence, removeLastOccurrence, size, spliteratorMethods inherited from class java.util.AbstractSequentialList
iteratorMethods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRangeMethods inherited from class java.util.AbstractCollection
isEmpty, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, isEmpty, iterator, listIterator, replaceAll, sort
-
Constructor Details
-
RoundRobinList
public RoundRobinList() -
RoundRobinList
-
-
Method Details
-
executeReads
-
executeWrites
-
add
-
add
-
addAll
-
addAll
-
addFirst
-
addLast
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceList<E>- Overrides:
clearin classLinkedList<E>
-
clone
- Overrides:
clonein classLinkedList<E>
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>- Overrides:
containsAllin classAbstractCollection<E>
-
element
-
get
-
getFirst
-
getLast
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>- Overrides:
lastIndexOfin classLinkedList<E>
-
offer
-
peek
-
poll
-
remove
-
remove
-
remove
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceList<E>- Overrides:
removeAllin classAbstractCollection<E>
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<E>- Overrides:
removeFirstin classLinkedList<E>
-
removeLast
- Specified by:
removeLastin interfaceDeque<E>- Overrides:
removeLastin classLinkedList<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceList<E>- Overrides:
retainAllin classAbstractCollection<E>
-
set
-
subList
-
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classLinkedList<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classLinkedList<E>
-