public class CapacityRestrictedQueue<E> extends LinkedList<E> implements Deque<E>, Serializable
modCount| 构造器和说明 |
|---|
CapacityRestrictedQueue() |
CapacityRestrictedQueue(int maxCapacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
addFirst(E e) |
void |
addLast(E e) |
boolean |
offer(E e) |
boolean |
offerFirst(E e) |
boolean |
offerLast(E e) |
clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringcontains, descendingIterator, element, getFirst, getLast, iterator, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, sizeclear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraycontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListpublic CapacityRestrictedQueue()
public CapacityRestrictedQueue(int maxCapacity)
public boolean offer(E e)
public boolean offerFirst(E e)
offerFirst 在接口中 Deque<E>offerFirst 在类中 LinkedList<E>public boolean offerLast(E e)
public boolean add(E e)
public boolean addAll(Collection<? extends E> c)
addAll 在接口中 Collection<E>addAll 在接口中 List<E>addAll 在类中 LinkedList<E>public boolean addAll(int index,
Collection<? extends E> c)
Copyright © 2022. All rights reserved.