Home
last modified time | relevance | path

Searched refs:checkedSet (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DT6433170.java41 import static java.util.Collections.checkedSet;
55 test(checkedSet( in test()
56 checkedSet(new HashSet(), String.class), in test()
DCheckedSetBash.java168 (Supplier) () -> Collections.checkedSet(new HashSet(), Integer.class)}, in makeCheckedSets()
170 … (Supplier) () -> Collections.checkedSet(new TreeSet(Collections.reverseOrder()), Integer.class)}, in makeCheckedSets()
172 (Supplier) () -> Collections.checkedSet(new TreeSet().descendingSet(), Integer.class)}, in makeCheckedSets()
DRacingCollections.java65 import static java.util.Collections.checkedSet;
334 frob(checkedSet(x, Integer.class), y); in realMain()
335 frob(x, checkedSet(y, Integer.class)); in realMain()
DWrappers.java113 cases.add(new Object[] { Collections.checkedSet(seedSet, Integer.class) }); in collectionCases()
DCheckedNull.java53 testCollection(Collections.checkedSet( in test()
DDelegatingIteratorForEachRemaining.java198 assertThrowingIterator(Collections.checkedSet(entrySet, clazz).iterator()); in test_entrySet_checkedSet()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java440 c = Collections.checkedSet(c, String.class); in test_checkedSetSerializationCompatability()
562 testSetForEach(Collections.checkedSet(set, Integer.class)); in test_Set_forEach()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java654 assertSerialized(Collections.checkedSet(new HashSet<String>(), String.class), s, true); in test_checkedSetSerializationCompatibility()
802 Set s = Collections.checkedSet(hs, Integer.class); in test_checkedSetLjava_util_SetLjava_lang_Class()
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java119 public static <E> java.util.Set<E> checkedSet(java.util.Set<E> s, java.lang.Class<E> type) { throw … in checkedSet() method in Collections
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java112 @libcore.util.NonNull public static <E> java.util.Set<@libcore.util.NullFromTypeParam E> checkedSet in checkedSet() method in Collections
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java96 testCollection(Collections.checkedSet(new HashSet<Integer>(), Integer.class)); in realMain()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java251 public static <E> java.util.Set<E> checkedSet(java.util.Set<E> s, java.lang.Class<E> type) { in checkedSet() method in Collections
/libcore/ojluni/src/main/java/java/util/
DCollections.java3607 public static <E> Set<E> checkedSet(Set<E> s, Class<E> type) {
/libcore/api/
Dcurrent.txt13623 …method @NonNull public static <E> java.util.Set<E> checkedSet(@NonNull java.util.Set<E>, @NonNull …