MCPcopy Create free account
hub / github.com/LFYSec/MScan / SetFact

Method SetFact

src/main/java/pascal/taie/analysis/dataflow/fact/SetFact.java:47–53  ·  view source on GitHub ↗
(Collection<E> c)

Source from the content-addressed store, hash-verified

45 protected final Set<E> set;
46
47 public SetFact(Collection<E> c) {
48 if (c instanceof GenericBitSet<E> s) {
49 set = s.copy();
50 } else {
51 set = Sets.newHybridSet(c);
52 }
53 }
54
55 public SetFact() {
56 this(Collections.emptySet());

Callers

nothing calls this directly

Calls 2

newHybridSetMethod · 0.95
copyMethod · 0.65

Tested by

no test coverage detected