MCPcopy Create free account
hub / github.com/PCGen/pcgen / equals

Method equals

code/src/java/pcgen/core/character/WieldCategory.java:221–232  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

219 }
220
221 @Override
222 public boolean equals(Object o)
223 {
224 if (o instanceof WieldCategory other)
225 {
226 /*
227 * Lightweight check due to ReferenceManufacturer enforcement
228 */
229 return categoryName.equals(other.categoryName);
230 }
231 return false;
232 }
233}

Callers 1

isWeaponLightForPCMethod · 0.95

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected