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
| 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, toArray, toArray |
CircularLinkedList
public CircularLinkedList(int maxSize)
addFirst
public void addFirst(V v)
- Specified by:
addFirst in interface Deque<V>- Overrides:
addFirst in class LinkedList<V>
addLast
public void addLast(V v)
- Specified by:
addLast in interface Deque<V>- Overrides:
addLast in class LinkedList<V>
add
public boolean add(V v)
- Specified by:
add in interface Collection<V>- Specified by:
add in interface Deque<V>- Specified by:
add in interface List<V>- Specified by:
add in interface Queue<V>- Overrides:
add in class LinkedList<V>
addAll
public boolean addAll(Collection<? extends V> c)
- Specified by:
addAll in interface Collection<V>- Specified by:
addAll in interface List<V>- Overrides:
addAll in class LinkedList<V>
addAll
public boolean addAll(int index,
Collection<? extends V> c)
- Specified by:
addAll in interface List<V>- Overrides:
addAll in class LinkedList<V>
add
public void add(int index,
V element)
- Specified by:
add in interface List<V>- Overrides:
add in class LinkedList<V>
Copyright © 2016. All rights reserved.