src/java.base/share/classes/java/util/concurrent/CopyOnWriteArrayList.java
changeset 52427 3c6aa484536c
parent 50764 5637aca18f1d
child 54683 3ffdc15cd044
equal deleted inserted replaced
52426:38bf0c9c4e64 52427:3c6aa484536c
    49 import java.util.Spliterator;
    49 import java.util.Spliterator;
    50 import java.util.Spliterators;
    50 import java.util.Spliterators;
    51 import java.util.function.Consumer;
    51 import java.util.function.Consumer;
    52 import java.util.function.Predicate;
    52 import java.util.function.Predicate;
    53 import java.util.function.UnaryOperator;
    53 import java.util.function.UnaryOperator;
    54 import jdk.internal.misc.SharedSecrets;
    54 import jdk.internal.access.SharedSecrets;
    55 
    55 
    56 /**
    56 /**
    57  * A thread-safe variant of {@link java.util.ArrayList} in which all mutative
    57  * A thread-safe variant of {@link java.util.ArrayList} in which all mutative
    58  * operations ({@code add}, {@code set}, and so on) are implemented by
    58  * operations ({@code add}, {@code set}, and so on) are implemented by
    59  * making a fresh copy of the underlying array.
    59  * making a fresh copy of the underlying array.