Home
last modified time | relevance | path

Searched refs:CopyOnWriteArraySet (Results 1 – 5 of 5) 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.java99 public class CopyOnWriteArraySet<E> extends AbstractSet<E> class
108 public CopyOnWriteArraySet() { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
119 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() method in CopyOnWriteArraySet
120 if (c.getClass() == CopyOnWriteArraySet.class) { in CopyOnWriteArraySet()
121 @SuppressWarnings("unchecked") CopyOnWriteArraySet<E> cc = in CopyOnWriteArraySet()
122 (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/
Dopenjdk_java_files.bp948 "ojluni/src/main/java/java/util/concurrent/CopyOnWriteArraySet.java",