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

Method newSet

src/main/java/pascal/taie/util/collection/Sets.java:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 // Factory methods for sets and maps
37 public static <E> Set<E> newSet() {
38 return new HashSet<>();
39 }
40
41 public static <E> Set<E> newSet(Collection<? extends E> set) {
42 return new HashSet<>(set);

Callers 15

testMethod · 0.95
buildStmtsMethod · 0.95
getUncaughtOfMethod · 0.95
computeMethodModsMethod · 0.95
analyzeMethod · 0.95
processResultsMethod · 0.95
AbstractCallGraphClass · 0.95
AbstractCFGMethod · 0.95
analyzeMethod · 0.95
analyzeMethod · 0.95
ConstraintCheckerClass · 0.95
LogBasedModelClass · 0.95

Calls 1

newSmallSetMethod · 0.95

Tested by 1

testMethod · 0.76