public class RunnableQueueWrapper extends Object implements RunnableQueue
| 构造器和说明 |
|---|
RunnableQueueWrapper(Queue<Runnable> queue) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Runnable e) |
boolean |
addAll(Collection<? extends Runnable> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Runnable |
element() |
void |
forEach(Consumer<? super Runnable> action) |
boolean |
isEmpty() |
Iterator<Runnable> |
iterator() |
boolean |
offer(Runnable e) |
Stream<Runnable> |
parallelStream() |
Runnable |
peek() |
Runnable |
poll() |
Runnable |
remove() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeIf(Predicate<? super Runnable> filter) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Spliterator<Runnable> |
spliterator() |
Stream<Runnable> |
stream() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic int size()
size 在接口中 Collection<Runnable>public boolean isEmpty()
isEmpty 在接口中 Collection<Runnable>public boolean contains(Object o)
contains 在接口中 Collection<Runnable>public Object[] toArray()
toArray 在接口中 Collection<Runnable>public <T> T[] toArray(T[] a)
toArray 在接口中 Collection<Runnable>public boolean remove(Object o)
remove 在接口中 Collection<Runnable>public boolean containsAll(Collection<?> c)
containsAll 在接口中 Collection<Runnable>public boolean removeAll(Collection<?> c)
removeAll 在接口中 Collection<Runnable>public boolean removeIf(Predicate<? super Runnable> filter)
removeIf 在接口中 Collection<Runnable>public boolean retainAll(Collection<?> c)
retainAll 在接口中 Collection<Runnable>public void clear()
clear 在接口中 Collection<Runnable>public Spliterator<Runnable> spliterator()
spliterator 在接口中 Iterable<Runnable>spliterator 在接口中 Collection<Runnable>public Stream<Runnable> stream()
stream 在接口中 Collection<Runnable>public Stream<Runnable> parallelStream()
parallelStream 在接口中 Collection<Runnable>public boolean addAll(Collection<? extends Runnable> c)
addAll 在接口中 Collection<Runnable>Copyright © 2020. All rights reserved.