Home
last modified time | relevance | path

Searched refs:checkedList (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DT6433170.java40 import static java.util.Collections.checkedList;
52 test(checkedList( in test()
53 checkedList(new ArrayList(), String.class), in test()
DCheckedListReplaceAll.java39 List<Object> wrapped = Collections.checkedList(unwrapped, Integer.class); in main()
53 wrapped = Collections.checkedList(unwrapped, Integer.class); in main()
DWrappers.java111 cases.add(new Object[] { Collections.checkedList(seedList, Integer.class) }); in collectionCases()
112 cases.add(new Object[] { Collections.checkedList(seedRandomAccess, Integer.class) }); in collectionCases()
DRacingCollections.java63 import static java.util.Collections.checkedList;
345 frob(checkedList(x, Integer.class), y); in realMain()
346 frob(x, checkedList(y, Integer.class)); in realMain()
DCheckedNull.java51 testCollection(Collections.checkedList( in test()
DCheckedListBash.java213 List s = Collections.checkedList(new ArrayList(), Integer.class); in newList()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java628 assertSerialized(Collections.checkedList(new ArrayList<String>(), String.class), s, true); in test_checkedListRandomAccessSerializationCompatibility()
641 assertSerialized(Collections.checkedList(new LinkedList<String>(), String.class), s, true); in test_checkedListSerializationCompatibility()
764 List l = Collections.checkedList(al, Integer.class); in test_checkedListLjava_util_ListLjava_lang_Class()
DCollectionsTest.java1368 …ListDefaultMethodTester.test_replaceAll(Collections.checkedList(new ArrayList<>(), Integer.class)); in test_CheckedList_replaceAll()
1372 ListDefaultMethodTester.test_sort(Collections.checkedList(new ArrayList<>(), Double.class)); in test_CheckedList_sort()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java426 c = Collections.checkedList(c, String.class); in test_checkedListRandomAccessSerializationCompatability()
433 c = Collections.checkedList(c, String.class); in test_checkedListSerializationCompatability()
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java125 public static <E> java.util.List<E> checkedList(java.util.List<E> list, java.lang.Class<E> type) { … in checkedList() method in Collections
/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasic.java55 return Collections.checkedList(contents, String.class); in cklist()
267 public Iterator<Object[]> checkedList() { in checkedList() method in Basic
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java118 …ll public static <E> java.util.List<@libcore.util.NullFromTypeParam E> checkedList(@libcore.util.N… in checkedList() method in Collections
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java94 testCollection(Collections.checkedList(new ArrayList<Integer>(), Integer.class)); in realMain()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java265 public static <E> java.util.List<E> checkedList( in checkedList() method in Collections
/libcore/ojluni/src/main/java/java/util/
DCollections.java3802 public static <E> List<E> checkedList(List<E> list, Class<E> type) {
/libcore/api/
Dcurrent.txt13618 …method @NonNull public static <E> java.util.List<E> checkedList(@NonNull java.util.List<E>, @NonNu…