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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends E> c) boolean
addAll
(Collection<? extends E> c) void
void
void
clear()
clone()
boolean
boolean
containsAll
(Collection<?> c) element()
void
executeReads
(Runnable runnable) void
executeWrites
(Runnable runnable) get
(int index) getFirst()
getLast()
int
int
boolean
peek()
poll()
remove()
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(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, spliterator
Methods inherited from class java.util.AbstractSequentialList
iterator
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange
Methods inherited from class java.util.AbstractCollection
isEmpty, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
clear
in interfaceCollection<E>
- Specified by:
clear
in interfaceList<E>
- Overrides:
clear
in classLinkedList<E>
-
clone
- Overrides:
clone
in classLinkedList<E>
-
contains
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
- Overrides:
containsAll
in classAbstractCollection<E>
-
element
-
get
-
getFirst
-
getLast
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
- Overrides:
lastIndexOf
in classLinkedList<E>
-
offer
-
peek
-
poll
-
remove
-
remove
-
remove
-
removeAll
- Specified by:
removeAll
in interfaceCollection<E>
- Specified by:
removeAll
in interfaceList<E>
- Overrides:
removeAll
in classAbstractCollection<E>
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<E>
- Overrides:
removeFirst
in classLinkedList<E>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<E>
- Overrides:
removeLast
in classLinkedList<E>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<E>
- Specified by:
retainAll
in interfaceList<E>
- Overrides:
retainAll
in classAbstractCollection<E>
-
set
-
subList
-
toArray
- Specified by:
toArray
in interfaceCollection<E>
- Specified by:
toArray
in interfaceList<E>
- Overrides:
toArray
in classLinkedList<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<E>
- Specified by:
toArray
in interfaceList<E>
- Overrides:
toArray
in classLinkedList<E>
-