Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/Collection/
DCollectionDefaults.java111 cases.add(new Object[]{Collections.newSetFromMap(new HashMap<>())}); in setCases()
112 cases.add(new Object[]{Collections.newSetFromMap(new LinkedHashMap<>())}); in setCases()
113 cases.add(new Object[]{Collections.newSetFromMap(new TreeMap<>())}); in setCases()
114 cases.add(new Object[]{Collections.newSetFromMap(new ConcurrentHashMap<>())}); in setCases()
115 cases.add(new Object[]{Collections.newSetFromMap(new ConcurrentSkipListMap<>())}); in setCases()
/libcore/ojluni/src/main/java/jdk/internal/misc/
DTerminatingThreadLocal.java102 return Collections.newSetFromMap(new IdentityHashMap<>(4));
/libcore/ojluni/src/test/java/util/Collections/
DRacingCollections.java66 import static java.util.Collections.newSetFromMap;
323 frob(newSetFromMap(x), newSetFromMap(y)); in realMain()
324 frob(x.keySet(), newSetFromMap(y)); in realMain()
DSetFromMap.java58 Set<String> s = Collections.newSetFromMap(m); in realMain()
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java157 Collections.newSetFromMap(new ConcurrentHashMap<>());
/libcore/ojluni/src/main/java/java/lang/
DThrowable.java680 Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>()); in printStackTrace()
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java176 public static <E> java.util.Set<E> newSetFromMap(java.util.Map<E,java.lang.Boolean> map) { throw ne… in newSetFromMap() method in Collections
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java565 Set<Integer> fromMap = Collections.newSetFromMap(new HashMap<Integer, Boolean>()); in test_Set_forEach()
DCollectionsTest.java2095 Set<Integer> set = Collections.newSetFromMap(map); in test_newSetFromMap_LMap()
2128 Collections.newSetFromMap(map); in test_newSetFromMap_LMap()
2145 Set<Integer> set = Collections.newSetFromMap(map); in testSerializationSelf_newSetFromMap()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java169 …ll public static <E> java.util.Set<@libcore.util.NullFromTypeParam E> newSetFromMap(@libcore.util.… in newSetFromMap() method in Collections
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java767 this.istreams = Collections.newSetFromMap(new WeakHashMap<>()); in CleanableResource()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java383 public static <E> java.util.Set<E> newSetFromMap(java.util.Map<E, java.lang.Boolean> map) { in newSetFromMap() method in Collections
/libcore/ojluni/src/main/java/java/util/
DCollections.java5987 public static <E> Set<E> newSetFromMap(Map<E, Boolean> map) {
/libcore/api/
Dcurrent.txt13650 …method @NonNull public static <E> java.util.Set<E> newSetFromMap(@NonNull java.util.Map<E,java.lan…