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

Method copy

src/main/java/pascal/taie/util/collection/ArraySet.java:155–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 @Override
156 public SetEx<E> copy() {
157 ArraySet<E> copy = new ArraySet<>(initialCapacity, fixedCapacity);
158 copy.elements.addAll(elements);
159 return copy;
160 }
161
162 @Override
163 public SetEx<E> addAllDiff(Collection<? extends E> c) {

Callers

nothing calls this directly

Calls 1

addAllMethod · 0.65

Tested by

no test coverage detected