/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CopyOnWriteArrayListTest.java | 45 import java.util.concurrent.CopyOnWriteArrayList; 58 public Class<?> klazz() { return CopyOnWriteArrayList.class; } in suite() 59 public List emptyCollection() { return new CopyOnWriteArrayList(); } in suite() 75 static CopyOnWriteArrayList<Integer> populatedArray(int n) { in populatedArray() 76 CopyOnWriteArrayList<Integer> a = new CopyOnWriteArrayList<>(); in populatedArray() 85 static CopyOnWriteArrayList<Integer> populatedArray(Integer[] elements) { in populatedArray() 86 CopyOnWriteArrayList<Integer> a = new CopyOnWriteArrayList<>(); in populatedArray() 99 CopyOnWriteArrayList a = new CopyOnWriteArrayList(); in testConstructor() 110 CopyOnWriteArrayList a = new CopyOnWriteArrayList(ints); in testConstructor2() 122 CopyOnWriteArrayList a = new CopyOnWriteArrayList(Arrays.asList(ints)); in testConstructor3() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 26 import java.util.concurrent.CopyOnWriteArrayList; 37 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testIteratorAndNonStructuralChanges() 54 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndNonStructuralChanges() 66 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndStructuralChanges() 78 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndSizePreservingStructuralChanges() 91 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testRemoveAll() 105 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testRetainAll() 114 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListClear() 124 new CopyOnWriteArrayList<String>().subList(0, 0).clear(); // the RI fails here in testSubListClearWhenEmpty() 128 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListIteratorGetsSnapshot() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CopyOnWriteArrayListTest.java | 20 import java.util.concurrent.CopyOnWriteArrayList; 37 static CopyOnWriteArrayList<Integer> populatedArray(int n) { in populatedArray() 38 CopyOnWriteArrayList<Integer> a = new CopyOnWriteArrayList<Integer>(); in populatedArray() 47 static CopyOnWriteArrayList<Integer> populatedArray(Integer[] elements) { in populatedArray() 48 CopyOnWriteArrayList<Integer> a = new CopyOnWriteArrayList<Integer>(); in populatedArray() 61 CopyOnWriteArrayList a = new CopyOnWriteArrayList(); in testConstructor() 72 CopyOnWriteArrayList a = new CopyOnWriteArrayList(ints); in testConstructor2() 84 CopyOnWriteArrayList a = new CopyOnWriteArrayList(Arrays.asList(ints)); in testConstructor3() 93 CopyOnWriteArrayList full = populatedArray(3); in testAddAll() 105 CopyOnWriteArrayList full = populatedArray(3); in testAddAllAbsent() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 102 private final CopyOnWriteArrayList<E> al; 108 al = new CopyOnWriteArrayList<E>(); in CopyOnWriteArraySet() 122 al = new CopyOnWriteArrayList<E>(cc.al); in CopyOnWriteArraySet() 125 al = new CopyOnWriteArrayList<E>(); in CopyOnWriteArraySet()
|
D | CopyOnWriteArrayList.java | 100 public class CopyOnWriteArrayList<E> class 131 public CopyOnWriteArrayList() { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 143 public CopyOnWriteArrayList(Collection<? extends E> c) { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 145 if (c.getClass() == CopyOnWriteArrayList.class) in CopyOnWriteArrayList() 146 es = ((CopyOnWriteArrayList<?>)c).getArray(); in CopyOnWriteArrayList() 165 public CopyOnWriteArrayList(E[] toCopyIn) { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 308 CopyOnWriteArrayList<E> clone = in clone() 309 (CopyOnWriteArrayList<E>) super.clone(); in clone() 826 Object[] cs = (c.getClass() == CopyOnWriteArrayList.class) ? in addAll() 827 ((CopyOnWriteArrayList<?>)c).getArray() : c.toArray(); in addAll() [all …]
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRulesProvider.java | 79 import java.util.concurrent.CopyOnWriteArrayList; 136 …private static final CopyOnWriteArrayList<ZoneRulesProvider> PROVIDERS = new CopyOnWriteArrayList<…
|
/libcore/luni/src/main/java/libcore/net/event/ |
D | NetworkEventDispatcher.java | 24 import java.util.concurrent.CopyOnWriteArrayList; 37 new CopyOnWriteArrayList<NetworkEventListener>();
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | CopyOnWriteArrayList.annotated.java | 39 public class CopyOnWriteArrayList<E> implements java.util.List<E>, java.util.RandomAccess, java.lan… class 41 public CopyOnWriteArrayList() { throw new RuntimeException("Stub!"); } in CopyOnWriteArrayList() method in CopyOnWriteArrayList 43 public CopyOnWriteArrayList(java.util.Collection<? extends E> c) { throw new RuntimeException("Stub… in CopyOnWriteArrayList() method in CopyOnWriteArrayList 45 public CopyOnWriteArrayList(E[] toCopyIn) { throw new RuntimeException("Stub!"); } in CopyOnWriteArrayList() method in CopyOnWriteArrayList
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 34 import java.util.concurrent.CopyOnWriteArrayList; 92 new CopyOnWriteArrayList<>(); in add() 212 List<UnresolvedPermission> list = new CopyOnWriteArrayList<>(vec); in readObject()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 40 public class CopyOnWriteArrayList<E> class 46 public CopyOnWriteArrayList() { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 50 public CopyOnWriteArrayList(java.util.Collection<? extends E> c) { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 54 public CopyOnWriteArrayList(E[] toCopyIn) { in CopyOnWriteArrayList() method in CopyOnWriteArrayList 335 COWSubList(java.util.concurrent.CopyOnWriteArrayList<E> list, int fromIndex, int toIndex) { in COWSubList() 417 private final java.util.concurrent.CopyOnWriteArrayList<E> l;
|
D | CopyOnWriteArraySet.java | 125 private final java.util.concurrent.CopyOnWriteArrayList<E> al;
|
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/ |
D | CopyOnWriteArrayList.annotated.java | 46 public class CopyOnWriteArrayList<E> implements java.util.List<E>, java.util.RandomAccess, java.lan… class 48 public CopyOnWriteArrayList() { throw new RuntimeException("Stub!"); } in CopyOnWriteArrayList() method in CopyOnWriteArrayList 50 public CopyOnWriteArrayList(@libcore.util.NonNull java.util.Collection<? extends @libcore.util.Null… in CopyOnWriteArrayList() method in CopyOnWriteArrayList 52 public CopyOnWriteArrayList(E @libcore.util.NonNull [] toCopyIn) { throw new RuntimeException("Stub… in CopyOnWriteArrayList() method in CopyOnWriteArrayList
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | HotPotatoes.java | 40 import java.util.concurrent.CopyOnWriteArrayList; 70 testPotato(implClazz, CopyOnWriteArrayList.class); in testImplementation()
|
D | BiggernYours.java | 47 import java.util.concurrent.CopyOnWriteArrayList; 236 new CopyOnWriteArrayList(), 237 new CopyOnWriteArrayList() {
|
D | IteratorAtEnd.java | 56 import java.util.concurrent.CopyOnWriteArrayList; 95 testCollection(new CopyOnWriteArrayList()); in testCopyOnWriteArrayList()
|
D | CollectionDefaults.java | 88 java.util.concurrent.CopyOnWriteArrayList<Integer>::new,
|
D | MOAT.java | 103 testCollection(new CopyOnWriteArrayList<Integer>()); in realMain() 104 testCollection(new CopyOnWriteArrayList<Integer>().subList(0,0)); in realMain() 1054 checkListIndexOf(new CopyOnWriteArrayList(l), index, lastIndex); in testListIndexOf()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 33 import java.util.concurrent.CopyOnWriteArrayList; 87 …private final static CopyOnWriteArrayList<DriverInfo> registeredDrivers = new CopyOnWriteArrayList…
|
/libcore/ojluni/src/test/java/util/SequencedCollection/ |
D | Basic.java | 28 import java.util.concurrent.CopyOnWriteArrayList; 113 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in populated() 133 new Object[] { "COWAL", new CopyOnWriteArrayList<>(), List.of() }, in empties() 155 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in adds() 176 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in removes() 192 new Object[] { "COWAL", new CopyOnWriteArrayList<>(), List.of() }, in emptyRemoves() 209 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in serializable() 226 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL).reversed() }, in notSerializable() 242 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL) }, in doubleReverse() 314 new Object[] { "COWAL", mode, new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in subListMods()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ConcurrentCloseTest.java | 35 import java.util.concurrent.CopyOnWriteArrayList; 127 final List<Throwable> thrownExceptions = new CopyOnWriteArrayList<Throwable>(); in test_read_multiple()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | RacingCollections.java | 56 import java.util.concurrent.CopyOnWriteArrayList; 264 list.add(new CopyOnWriteArrayList<Integer>()); in newConcurrentLists()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 33 import java.util.concurrent.CopyOnWriteArrayList;
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Logger.java | 37 import java.util.concurrent.CopyOnWriteArrayList; 258 private final CopyOnWriteArrayList<Handler> handlers = 259 new CopyOnWriteArrayList<>();
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | Logger.java | 489 private final java.util.concurrent.CopyOnWriteArrayList<java.util.logging.Handler> handlers;
|
/libcore/ |
D | openjdk_java_files.bp | 988 "ojluni/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java",
|