MCPcopy Create free account
hub / github.com/ReadyTalk/avian / LinkedHashSet

Method LinkedHashSet

classpath/java/util/LinkedHashSet.java:18–21  ·  view source on GitHub ↗
(Collection<? extends T> c)

Source from the content-addressed store, hash-verified

16 private final LinkedHashMap<T, Object> map;
17
18 public LinkedHashSet(Collection<? extends T> c) {
19 map = new LinkedHashMap(c.size());
20 addAll(c);
21 }
22
23 public LinkedHashSet(int capacity) {
24 map = new LinkedHashMap(capacity);

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected