jdk/src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java
changeset 39040 a6f5ef42ecda
parent 33674 566777f73c32
child 39725 9548f8d846e9
equal deleted inserted replaced
39039:9dea20ff2dee 39040:a6f5ef42ecda
    59  * asynchronous nature of these queues, determining the current number
    59  * asynchronous nature of these queues, determining the current number
    60  * of elements requires a traversal of the elements, and so may report
    60  * of elements requires a traversal of the elements, and so may report
    61  * inaccurate results if this collection is modified during traversal.
    61  * inaccurate results if this collection is modified during traversal.
    62  * Additionally, the bulk operations {@code addAll},
    62  * Additionally, the bulk operations {@code addAll},
    63  * {@code removeAll}, {@code retainAll}, {@code containsAll},
    63  * {@code removeAll}, {@code retainAll}, {@code containsAll},
    64  * {@code equals}, and {@code toArray} are <em>not</em> guaranteed
    64  * and {@code toArray} are <em>not</em> guaranteed
    65  * to be performed atomically. For example, an iterator operating
    65  * to be performed atomically. For example, an iterator operating
    66  * concurrently with an {@code addAll} operation might view only some
    66  * concurrently with an {@code addAll} operation might view only some
    67  * of the added elements.
    67  * of the added elements.
    68  *
    68  *
    69  * <p>This class and its iterator implement all of the
    69  * <p>This class and its iterator implement all of the