Searched refs:CopyOnWriteArraySet (Results 1 – 4 of 4) sorted by relevance
18 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 …]
70 public class CopyOnWriteArraySet<E> extends AbstractSet<E> class79 public CopyOnWriteArraySet() { in CopyOnWriteArraySet() method in CopyOnWriteArraySet90 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() method in CopyOnWriteArraySet91 if (c.getClass() == CopyOnWriteArraySet.class) { in CopyOnWriteArraySet()92 @SuppressWarnings("unchecked") CopyOnWriteArraySet<E> cc = in CopyOnWriteArraySet()93 (CopyOnWriteArraySet<E>)c; in CopyOnWriteArraySet()
34 import java.util.concurrent.CopyOnWriteArraySet;
104 luni/src/main/java/java/util/concurrent/CopyOnWriteArraySet.java \