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

Method equals

common/buildcraft/transport/gate/GateVariant.java:81–90  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

79 }
80
81 @Override
82 public boolean equals(Object obj) {
83 if (obj == this) return true;
84 if (obj == null) return false;
85 if (obj.getClass() != getClass()) return false;
86 GateVariant other = (GateVariant) obj;
87 return other.logic == logic//
88 && other.material == material//
89 && other.modifier == modifier;
90 }
91
92 @Override
93 public int hashCode() {

Callers 3

addInformationMethod · 0.45
onTickMethod · 0.45
resolveActionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected