public static final class TaskQueue.Simple<T> extends Object implements TaskQueue<T,T>
TaskQueue.Prioritized, TaskQueue.PrioritizedTask, TaskQueue.Simple<T>
private Queue<T>
queue
Simple(Queue<T> queue)
boolean
add(T message)
isEmpty()
T
poll()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final Queue<T> queue
public Simple(Queue<T> queue)
@Nullable public T poll()
poll
TaskQueue<T,T>
public boolean add(T message)
add
public boolean isEmpty()
isEmpty