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

Method compare

src/main/java/field/utility/UnorderedPair.java:33–37  ·  view source on GitHub ↗
(Object a, Object b)

Source from the content-addressed store, hash-verified

31 }
32
33 private boolean compare(Object a, Object b) {
34 if (a == null) return b != null;
35 if (b == null) return false;
36 return a.equals(b);
37 }
38
39 @Override
40 public int hashCode() {

Callers 5

equalsMethod · 0.95
computePathsMethod · 0.45
minMethod · 0.45
equalsMethod · 0.45
equalsMethod · 0.45

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected