jdk/src/java.base/share/classes/java/util/concurrent/TransferQueue.java
changeset 32991 b27c76b82713
parent 25859 3317bb8137f4
child 44743 f0bbd698c486
equal deleted inserted replaced
32990:299a81977f48 32991:b27c76b82713
    61  * <a href="{@docRoot}/../technotes/guides/collections/index.html">
    61  * <a href="{@docRoot}/../technotes/guides/collections/index.html">
    62  * Java Collections Framework</a>.
    62  * Java Collections Framework</a>.
    63  *
    63  *
    64  * @since 1.7
    64  * @since 1.7
    65  * @author Doug Lea
    65  * @author Doug Lea
    66  * @param <E> the type of elements held in this collection
    66  * @param <E> the type of elements held in this queue
    67  */
    67  */
    68 public interface TransferQueue<E> extends BlockingQueue<E> {
    68 public interface TransferQueue<E> extends BlockingQueue<E> {
    69     /**
    69     /**
    70      * Transfers the element to a waiting consumer immediately, if possible.
    70      * Transfers the element to a waiting consumer immediately, if possible.
    71      *
    71      *