Home
last modified time | relevance | path

Searched refs:synchronizedList (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DForEachOpTest.java113 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>());
DTeeOpTest.java72 list = Collections.synchronizedList(new ArrayList<>()); in before()
/libcore/ojluni/src/test/java/util/Collections/
DWrappedNull.java138 List c = Collections.synchronizedList(null); in main()
188 l = Collections.synchronizedList(Collections.EMPTY_LIST); in main()
DEqualsTest.java45 List list = Collections.synchronizedList(new ArrayList()); in main()
DWrappers.java91 cases.add(new Object[] { Collections.synchronizedList(seedList) }); in collectionCases()
92 cases.add(new Object[] { Collections.synchronizedList(seedRandomAccess) }); in collectionCases()
DRacingCollections.java67 import static java.util.Collections.synchronizedList;
343 frob(synchronizedList(x), y); in realMain()
344 frob(x, synchronizedList(y)); in realMain()
DSyncSubMutexes.java175 … 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/
DCollectionsTest.java1320 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/
DCollections.annotated.java107 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/
DVector.java1121 return Collections.synchronizedList(super.subList(fromIndex, toIndex), in subList()
DCollections.java2739 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/
DCollectionsTest.java1360 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/
DCollections.annotated.java100 …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/
DSerializationStressTest3.java855 Object col = Collections.synchronizedList(LIST); in test_18_98_writeObject()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java215 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/
DMOAT.java95 testCollection(Collections.synchronizedList(new ArrayList<Integer>())); in realMain()
/libcore/api/
Dcurrent.txt13666 … method @NonNull public static <T> java.util.List<T> synchronizedList(@NonNull java.util.List<T>);