/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ForEachOpTest.java | 113 List<Integer> l = Collections.synchronizedList(new ArrayList<>()); 161 List<Integer> l = Collections.synchronizedList(new ArrayList<Integer>()); 209 List<Long> l = Collections.synchronizedList(new ArrayList<Long>()); 257 List<Double> l = Collections.synchronizedList(new ArrayList<Double>());
|
D | TeeOpTest.java | 72 list = Collections.synchronizedList(new ArrayList<>()); in before()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | WrappedNull.java | 138 List c = Collections.synchronizedList(null); in main() 188 l = Collections.synchronizedList(Collections.EMPTY_LIST); in main()
|
D | EqualsTest.java | 45 List list = Collections.synchronizedList(new ArrayList()); in main()
|
D | Wrappers.java | 91 cases.add(new Object[] { Collections.synchronizedList(seedList) }); in collectionCases() 92 cases.add(new Object[] { Collections.synchronizedList(seedRandomAccess) }); in collectionCases()
|
D | RacingCollections.java | 67 import static java.util.Collections.synchronizedList; 343 frob(synchronizedList(x), y); in realMain() 344 frob(x, synchronizedList(y)); in realMain()
|
D | SyncSubMutexes.java | 175 … instances.add(new Object[] {Collections.synchronizedList(new ArrayList<>(BASE_COLLECTION))}); in makeLists() 176 …instances.add(new Object[] {Collections.synchronizedList(new ArrayList<>(BASE_COLLECTION)).subList… in makeLists()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CollectionsTest.java | 1320 Collections.synchronizedList(null); in test_synchronizedListLjava_util_List() 1335 myList = Collections.synchronizedList(smallList); in test_synchronizedListLjava_util_List() 1346 myList = Collections.synchronizedList(smallList); in test_synchronizedListLjava_util_List() 1350 myList = Collections.synchronizedList(smallList); in test_synchronizedListLjava_util_List() 1360 List synchList = Collections.synchronizedList(smallList); in testSynchronizedList()
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | Collections.annotated.java | 107 public static <T> java.util.List<T> synchronizedList(java.util.List<T> list) { throw new RuntimeExc… in synchronizedList() method in Collections
|
/libcore/ojluni/src/main/java/java/util/ |
D | Vector.java | 1121 return Collections.synchronizedList(super.subList(fromIndex, toIndex), in subList()
|
D | Collections.java | 2739 public static <T> List<T> synchronizedList(List<T> list) { 2745 static <T> List<T> synchronizedList(List<T> list, Object mutex) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CollectionsTest.java | 1360 ListDefaultMethodTester.test_replaceAll(Collections.synchronizedList(new ArrayList<>())); in test_SynchronizedList_replaceAll() 1364 ListDefaultMethodTester.test_sort(Collections.synchronizedList(new ArrayList<>())); in test_SynchronizedList_sort()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 100 …public static <T> java.util.List<@libcore.util.NullFromTypeParam T> synchronizedList(@libcore.util… in synchronizedList() method in Collections
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest3.java | 855 Object col = Collections.synchronizedList(LIST); in test_18_98_writeObject()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 215 public static <T> java.util.List<T> synchronizedList(java.util.List<T> list) { in synchronizedList() method in Collections 219 static <T> java.util.List<T> synchronizedList(java.util.List<T> list, java.lang.Object mutex) { in synchronizedList() method in Collections
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | MOAT.java | 95 testCollection(Collections.synchronizedList(new ArrayList<Integer>())); in realMain()
|
/libcore/api/ |
D | current.txt | 13666 … method @NonNull public static <T> java.util.List<T> synchronizedList(@NonNull java.util.List<T>);
|