MCPcopy Create free account
hub / github.com/FabricMC/Matcher / newIdentityHashSet

Method newIdentityHashSet

src/main/java/matcher/Util.java:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33public class Util {
34 public static <T> Set<T> newIdentityHashSet() {
35 return Collections.newSetFromMap(new IdentityHashMap<>()); //new IdentityHashSet<>();
36 }
37
38 public static <T> Set<T> newIdentityHashSet(Collection<? extends T> c) {
39 Set<T> ret = Collections.newSetFromMap(new IdentityHashMap<>(c.size()));

Callers 15

copySetMethod · 0.95
propagateNamesMethod · 0.95
saveMethod · 0.95
compareIdentitySetsMethod · 0.95
getScoreMethod · 0.95
getOutRefsMethod · 0.95
getInRefsMethod · 0.95
getMethodOutRefsMethod · 0.95
getMethodInRefsMethod · 0.95
getFieldReadRefsMethod · 0.95
getFieldWriteRefsMethod · 0.95
processClassCMethod · 0.95

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected