MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / findAll

Method findAll

src/main/java/wycc/util/AbstractHeap.java:172–177  ·  view source on GitHub ↗
(Class<T> kind)

Source from the content-addressed store, hash-verified

170 }
171
172 @Override
173 public <T extends Item> List<T> findAll(Class<T> kind) {
174 ArrayList<T> matches = new ArrayList<>();
175 findAll(getRootItem(), kind, matches, new BitSet());
176 return matches;
177 }
178
179 @Override
180 public <T extends Item> void replace(T from, T to) {

Callers

nothing calls this directly

Calls 6

getRootItemMethod · 0.95
getIndexMethod · 0.65
getMethod · 0.65
setMethod · 0.65
addMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected