public final class RoundRobinList<E>
extends java.util.LinkedList<E>
Constructor and Description |
---|
RoundRobinList() |
RoundRobinList(java.util.Collection<? extends E> c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
void |
addFirst(E o) |
void |
addLast(E o) |
void |
clear() |
java.lang.Object |
clone() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
E |
element() |
void |
executeReads(java.lang.Runnable runnable) |
void |
executeWrites(java.lang.Runnable runnable) |
E |
get(int index) |
E |
getFirst() |
E |
getLast() |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
boolean |
offer(E o) |
E |
peek() |
E |
poll() |
E |
remove() |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
E |
removeFirst() |
E |
removeLast() |
boolean |
retainAll(java.util.Collection<?> c) |
E |
set(int index,
E element) |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
descendingIterator, listIterator, offerFirst, offerLast, peekFirst, peekLast, pollFirst, pollLast, pop, push, removeFirstOccurrence, removeLastOccurrence, size, spliterator
finalize, getClass, notify, notifyAll, wait, wait, wait
public RoundRobinList()
public RoundRobinList(java.util.Collection<? extends E> c)
public void executeReads(java.lang.Runnable runnable)
public void executeWrites(java.lang.Runnable runnable)
public void add(int index, E element)
public boolean add(E o)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean addAll(int index, java.util.Collection<? extends E> c)
public void addFirst(E o)
public void addLast(E o)
public void clear()
public java.lang.Object clone()
clone
in class java.util.LinkedList<E>
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public E element()
public E get(int index)
public E getFirst()
public E getLast()
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
public boolean offer(E o)
public E peek()
public E poll()
public E remove()
public E remove(int index)
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public E removeFirst()
public E removeLast()
public boolean retainAll(java.util.Collection<?> c)
public java.util.List<E> subList(int fromIndex, int toIndex)
public java.lang.Object[] toArray()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html