()
| 32 | |
| 33 | public 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())); |
no test coverage detected