Home
last modified time | relevance | path

Searched refs:CopyOnWriteArraySet (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java18 import java.util.concurrent.CopyOnWriteArraySet;
34 static CopyOnWriteArraySet<Integer> populatedSet(int n) { in populatedSet()
35 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<Integer>(); in populatedSet()
44 static CopyOnWriteArraySet populatedSet(Integer[] elements) { in populatedSet()
45 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<Integer>(); in populatedSet()
58 CopyOnWriteArraySet a = new CopyOnWriteArraySet(); in testConstructor()
69 CopyOnWriteArraySet a = new CopyOnWriteArraySet(Arrays.asList(ints)); in testConstructor3()
138 CopyOnWriteArraySet a = populatedSet(3); in testEquals()
139 CopyOnWriteArraySet b = populatedSet(3); in testEquals()
173 CopyOnWriteArraySet empty1 = new CopyOnWriteArraySet(Arrays.asList()); in testEquals()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java70 public class CopyOnWriteArraySet<E> extends AbstractSet<E> class
79 public CopyOnWriteArraySet() { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
90 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
91 if (c.getClass() == CopyOnWriteArraySet.class) { in CopyOnWriteArraySet()
92 @SuppressWarnings("unchecked") CopyOnWriteArraySet<E> cc = in CopyOnWriteArraySet()
93 (CopyOnWriteArraySet<E>)c; in CopyOnWriteArraySet()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectionAndMapModifyStreamTest.java34 import java.util.concurrent.CopyOnWriteArraySet;
/libcore/
Dnon_openjdk_java_files.mk104 luni/src/main/java/java/util/concurrent/CopyOnWriteArraySet.java \