Package org.mockserver.collections
Class CircularLinkedList<V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<E>
-
- java.util.LinkedList<V>
-
- org.mockserver.collections.CircularLinkedList<V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<V>
,Collection<V>
,Deque<V>
,List<V>
,Queue<V>
public class CircularLinkedList<V> extends LinkedList<V>
- Author:
- jamesdbloom
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description CircularLinkedList(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, V element)
boolean
add(V v)
boolean
addAll(int index, Collection<? extends V> c)
boolean
addAll(Collection<? extends V> c)
void
addFirst(V v)
void
addLast(V v)
-
Methods inherited from class java.util.LinkedList
clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
-
Methods inherited from class java.util.AbstractSequentialList
iterator
-
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, 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
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
-
-
-
Method Detail
-
addFirst
public void addFirst(V v)
-
addLast
public void addLast(V v)
-
add
public boolean add(V v)
-
addAll
public boolean addAll(Collection<? extends V> c)
-
addAll
public boolean addAll(int index, Collection<? extends V> c)
-
-