All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.util.concurrent.BlockingDeque Maven / Gradle / Ivy

package java.util.concurrent;

import java.util.Deque;
import java.util.Iterator;

public interface BlockingDeque extends BlockingQueue, Deque {
	void addFirst(E e);

	void addLast(E e);

	boolean offerFirst(E e);

	boolean offerLast(E e);

	void putFirst(E e) throws InterruptedException;

	void putLast(E e) throws InterruptedException;

	boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException;

	boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException;

	E takeFirst() throws InterruptedException;

	E takeLast() throws InterruptedException;

	E pollFirst(long timeout, TimeUnit unit) throws InterruptedException;

	E pollLast(long timeout, TimeUnit unit) throws InterruptedException;

	boolean removeFirstOccurrence(Object o);

	boolean removeLastOccurrence(Object o);

	boolean add(E e);

	boolean offer(E e);

	void put(E e) throws InterruptedException;

	boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException;

	E remove();

	E poll();

	E take() throws InterruptedException;

	E poll(long timeout, TimeUnit unit) throws InterruptedException;

	E element();

	E peek();

	boolean remove(Object o);

	boolean contains(Object o);

	int size();

	Iterator iterator();

	void push(E e);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy