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

Method set

src/main/java/pascal/taie/analysis/dataflow/fact/SetFact.java:142–149  ·  view source on GitHub ↗

Sets the content of this set to the same as other set.

(SetFact<E> other)

Source from the content-addressed store, hash-verified

140 * Sets the content of this set to the same as other set.
141 */
142 public void set(SetFact<E> other) {
143 if (set instanceof GenericBitSet<E> s) {
144 s.setTo(other.set);
145 } else {
146 clear();
147 union(other);
148 }
149 }
150
151 /**
152 * Creates and returns a copy of this fact.

Callers

nothing calls this directly

Calls 3

clearMethod · 0.95
unionMethod · 0.95
setToMethod · 0.65

Tested by

no test coverage detected