MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / clearExamplesCache

Method clearExamplesCache

common/buildcraft/core/list/GuiList.java:191–196  ·  view source on GitHub ↗
(int lineId)

Source from the content-addressed store, hash-verified

189 }
190
191 private void clearExamplesCache(int lineId) {
192 Map<ListMatchHandler.Type, List<ItemStack>> exampleList = exampleCache.get(lineId);
193 if (exampleList != null) {
194 exampleList.clear();
195 }
196 }
197
198 private List<ItemStack> getExamplesList(int lineId, ListMatchHandler.Type type) {
199 Map<ListMatchHandler.Type, List<ItemStack>> exampleList = exampleCache.get(lineId);

Callers 2

onMouseClickedMethod · 0.95
handleButtonClickMethod · 0.95

Calls 2

getMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected