Home
last modified time | relevance | path

Searched refs:CopyOnWriteArraySet (Results 1 – 12 of 12) 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/ojluni/src/test/java/util/concurrent/tck/
DCopyOnWriteArraySetTest.java43 import java.util.concurrent.CopyOnWriteArraySet;
56 static CopyOnWriteArraySet<Integer> populatedSet(int n) { in populatedSet()
57 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<>(); in populatedSet()
66 static CopyOnWriteArraySet populatedSet(Integer[] elements) { in populatedSet()
67 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<>(); in populatedSet()
80 CopyOnWriteArraySet a = new CopyOnWriteArraySet(); in testConstructor()
91 CopyOnWriteArraySet a = new CopyOnWriteArraySet(Arrays.asList(ints)); in testConstructor3()
160 CopyOnWriteArraySet a = populatedSet(3); in testEquals()
161 CopyOnWriteArraySet b = populatedSet(3); in testEquals()
195 CopyOnWriteArraySet empty1 = new CopyOnWriteArraySet(Arrays.asList()); in testEquals()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java98 public class CopyOnWriteArraySet<E> extends AbstractSet<E> class
107 public CopyOnWriteArraySet() { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
118 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
119 if (c.getClass() == CopyOnWriteArraySet.class) { in CopyOnWriteArraySet()
120 @SuppressWarnings("unchecked") CopyOnWriteArraySet<E> cc = in CopyOnWriteArraySet()
121 (CopyOnWriteArraySet<E>)c; in CopyOnWriteArraySet()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArraySet.java41 public class CopyOnWriteArraySet<E> extends java.util.AbstractSet<E> class
44 public CopyOnWriteArraySet() { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
48 public CopyOnWriteArraySet(java.util.Collection<? extends E> c) { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
/libcore/ojluni/src/test/java/util/Collection/
DBiggernYours.java48 import java.util.concurrent.CopyOnWriteArraySet;
225 new CopyOnWriteArraySet(),
226 new CopyOnWriteArraySet() {
DIteratorAtEnd.java57 import java.util.concurrent.CopyOnWriteArraySet;
100 testCollection(new CopyOnWriteArraySet()); in testCopyOnWriteArraySet()
DCollectionDefaults.java96 java.util.concurrent.CopyOnWriteArraySet<Integer>::new,
107 cases.add(new Object[]{new java.util.concurrent.CopyOnWriteArraySet<>()}); in setCases()
DMOAT.java110 testCollection(new CopyOnWriteArraySet<Integer>()); in realMain()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectionAndMapModifyStreamTest.java34 import java.util.concurrent.CopyOnWriteArraySet;
/libcore/
Dopenjdk_java_files.bp982 "ojluni/src/main/java/java/util/concurrent/CopyOnWriteArraySet.java",
DEXPECTED_UPSTREAM1025 …va/util/concurrent/CopyOnWriteArraySet.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
/libcore/api/
Dcurrent.txt15288 …public class CopyOnWriteArraySet<E> extends java.util.AbstractSet<E> implements java.io.Serializab…
15289 ctor public CopyOnWriteArraySet();
15290 ctor public CopyOnWriteArraySet(java.util.Collection<? extends E>);