public class PersistentQueue<E> extends Object implements Queue<E>
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
PersistentQueue.HasId |
| 构造器和说明 |
|---|
PersistentQueue(String peerId,
Class<E> clazz) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> collection) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> collection) |
E |
element() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
E |
remove() |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic boolean addAll(Collection<? extends E> collection)
addAll 在接口中 Collection<E>public void clear()
clear 在接口中 Collection<E>public boolean contains(Object object)
contains 在接口中 Collection<E>public boolean containsAll(Collection<?> collection)
containsAll 在接口中 Collection<E>public boolean isEmpty()
isEmpty 在接口中 Collection<E>public boolean remove(Object object)
remove 在接口中 Collection<E>public boolean removeAll(Collection<?> collection)
removeAll 在接口中 Collection<E>public boolean retainAll(Collection<?> collection)
retainAll 在接口中 Collection<E>public int size()
size 在接口中 Collection<E>public Object[] toArray()
toArray 在接口中 Collection<E>public <T> T[] toArray(T[] array)
toArray 在接口中 Collection<E>Copyright © 2019. All rights reserved.