LinkedBlockingDeque.offerLast

Links the provided element as the last in the queue, waiting up to the specified time to do so if the queue is full.

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

@return {@code true} if successful, otherwise {@code false}

@throws NullPointerException if e is null @throws InterruptedException if the thread is interrupted whist waiting for space

  1. bool offerLast(E e)
  2. bool offerLast(E e, Duration timeout)
    class LinkedBlockingDeque(E)
    override
    bool
    offerLast
    (
    E e
    ,
    Duration timeout
    )

Meta