MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / containsKey

Method containsKey

src/main/java/gregapi/code/ItemStackMap.java:48–58  ·  view source on GitHub ↗
(long aID, long aMeta, boolean aWildcard)

Source from the content-addressed store, hash-verified

46 return this == o;
47 }
48 public boolean containsKey(long aID, long aMeta, boolean aWildcard) {
49 if (mHasWildcards) {
50 if (aWildcard) {
51 if (containsKey(new ItemStackContainer(aID, 1, W))) return T;
52 if (aMeta == W) return F;
53 }
54 } else {
55 if (aMeta == W) return F;
56 }
57 return containsKey(new ItemStackContainer(aID, 1, aMeta));
58 }
59 public boolean containsKey(Item aItem, long aMeta, boolean aWildcard) {
60 if (mHasWildcards) {
61 if (aWildcard) {

Callers 15

onPlayerInteractionMethod · 0.80
onItemTooltipMethod · 0.80
getStackMethod · 0.80
getMethod · 0.80
getMethod · 0.80
getMethod · 0.80
putMethod · 0.80
getMethod · 0.80
putMethod · 0.80
setMethod · 0.80

Calls 1

metaMethod · 0.95

Tested by

no test coverage detected