class LimitedExecutor.Runner
extends java.util.ArrayDeque<java.lang.Runnable>
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
private int |
runCount |
| Constructor and Description |
|---|
Runner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Runnable runnable) |
void |
run() |
java.lang.String |
toString() |
addFirst, addLast, clear, clone, contains, descendingIterator, element, getFirst, getLast, isEmpty, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArrayequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean add(java.lang.Runnable runnable)
add in interface java.util.Collection<java.lang.Runnable>add in interface java.util.Deque<java.lang.Runnable>add in interface java.util.Queue<java.lang.Runnable>add in class java.util.ArrayDeque<java.lang.Runnable>public void run()
run in interface java.lang.Runnablepublic java.lang.String toString()
toString in class java.util.AbstractCollection<java.lang.Runnable>