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

Method equals

src/main/java/org/bukkit/StructureType.java:205–215  ·  view source on GitHub ↗
(Object other)

Source from the content-addressed store, hash-verified

203 }
204
205 @Override
206 public boolean equals(Object other) {
207 if (this == other) {
208 return true;
209 }
210 if (!(other instanceof StructureType)) {
211 return false;
212 }
213 StructureType that = (StructureType) other;
214 return this.name.equals(that.name) && this.mapCursor == that.mapCursor;
215 }
216
217 @Override
218 public int hashCode() {

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected