Searched refs:newSetFromMap (Results 1 – 14 of 14) sorted by relevance
111 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()
102 return Collections.newSetFromMap(new IdentityHashMap<>(4));
66 import static java.util.Collections.newSetFromMap;323 frob(newSetFromMap(x), newSetFromMap(y)); in realMain()324 frob(x.keySet(), newSetFromMap(y)); in realMain()
58 Set<String> s = Collections.newSetFromMap(m); in realMain()
157 Collections.newSetFromMap(new ConcurrentHashMap<>());
680 Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>()); in printStackTrace()
176 public static <E> java.util.Set<E> newSetFromMap(java.util.Map<E,java.lang.Boolean> map) { throw ne… in newSetFromMap() method in Collections
565 Set<Integer> fromMap = Collections.newSetFromMap(new HashMap<Integer, Boolean>()); in test_Set_forEach()
2095 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()
169 …ll public static <E> java.util.Set<@libcore.util.NullFromTypeParam E> newSetFromMap(@libcore.util.… in newSetFromMap() method in Collections
767 this.istreams = Collections.newSetFromMap(new WeakHashMap<>()); in CleanableResource()
383 public static <E> java.util.Set<E> newSetFromMap(java.util.Map<E, java.lang.Boolean> map) { in newSetFromMap() method in Collections
5987 public static <E> Set<E> newSetFromMap(Map<E, Boolean> map) {
13650 …method @NonNull public static <E> java.util.Set<E> newSetFromMap(@NonNull java.util.Map<E,java.lan…