MCPcopy Create free account
hub / github.com/antlr/codebuff / getCategoriesBag

Method getCategoriesBag

src/org/antlr/codebuff/validation/Entropy.java:237–243  ·  view source on GitHub ↗
(Collection<Integer> categories)

Source from the content-addressed store, hash-verified

235 }
236
237 public static HashBag<Integer> getCategoriesBag(Collection<Integer> categories) {
238 HashBag<Integer> votes = new HashBag<>();
239 for (Integer category : categories) {
240 votes.add(category);
241 }
242 return votes;
243 }
244}

Callers 2

examineCorpusMethod · 0.95

Calls 1

addMethod · 0.95

Tested by

no test coverage detected