MCPcopy Create free account
hub / github.com/Teneted/Tenet / hashCode

Method hashCode

src/main/java/org/bukkit/potion/PotionData.java:67–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 @Override
68 public int hashCode() {
69 int hash = 7;
70 hash = 23 * hash + (this.type != null ? this.type.hashCode() : 0);
71 hash = 23 * hash + (this.extended ? 1 : 0);
72 hash = 23 * hash + (this.upgraded ? 1 : 0);
73 return hash;
74 }
75
76 @Override
77 public boolean equals(Object obj) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected