LinkedBlockingDeque.pollLast

Unlinks the last element in the queue, waiting up to the specified time to do so if the queue is empty.

@param timeout length of time to wait @param unit units that timeout is expressed in

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

  1. E pollLast()
  2. E pollLast(Duration timeout)
    class LinkedBlockingDeque(E)
    E
    pollLast
    (
    Duration timeout
    )

Meta