AbstractDeque.take

Unlinks the first element in the queue, waiting until there is an element to unlink if the queue is empty.

<p>This method is equivalent to {@link #takeFirst()}.

@return the unlinked element @throws InterruptedException if the current thread is interrupted

class AbstractDeque(E)
E
take
()

Meta