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

Method compareTo

code/src/java/pcgen/core/Equipment.java:2718–2724  ·  view source on GitHub ↗

Description of the Method @param o Description of the Parameter @return Description of the Return Value

(final Object o)

Source from the content-addressed store, hash-verified

2716 * @return Description of the Return Value
2717 */
2718 @Override
2719 public int compareTo(final Object o)
2720 {
2721 final Equipment e = (Equipment) o;
2722
2723 return getName().compareToIgnoreCase(e.getName());
2724 }
2725
2726 @Override
2727 public boolean equals(Object obj)

Callers 2

getCostMethod · 0.45
getCostFromPlusesMethod · 0.45

Calls 1

getNameMethod · 0.95

Tested by

no test coverage detected