MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / equals

Method equals

src/main/java/field/utility/Dict.java:146–156  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

144 }
145
146 @Override
147 public boolean equals(Object obj) {
148 if (this == obj) return true;
149 if (obj == null) return false;
150 if (getClass() != obj.getClass()) return false;
151 final Prop other = (Prop) obj;
152 if (name == null) {
153 if (other.name != null) return false;
154 } else if (!name.equals(other.name)) return false;
155 return true;
156 }
157
158 public String getName() {
159 return name;

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected