MCPcopy Create free account
hub / github.com/GateNLP/gate-core / equals

Method equals

src/main/java/gate/util/RBTreeMap.java:1142–1150  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

1140 }
1141
1142 @Override
1143 public boolean equals(Object o) {
1144 if (!(o instanceof Map.Entry))
1145 return false;
1146 @SuppressWarnings("unchecked")
1147 Map.Entry<M,N> e = (Map.Entry<M,N>)o;
1148
1149 return valEquals(key,e.getKey()) && valEquals(value,e.getValue());
1150 } // equals
1151
1152 @Override
1153 public int hashCode() {

Callers

nothing calls this directly

Calls 3

valEqualsMethod · 0.80
getKeyMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected