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

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

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.util.concurrent;

import java.util.Collection;
import java.util.Queue;

public interface BlockingQueue extends Queue {
	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 take() throws InterruptedException;

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

	int remainingCapacity();

	boolean remove(Object o);

	boolean contains(Object o);

	int drainTo(Collection c);

	int drainTo(Collection c, int maxElements);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy