MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / equals

Method equals

src/KeyValue.java:184–189  ·  view source on GitHub ↗
(final Object other)

Source from the content-addressed store, hash-verified

182 }
183
184 public boolean equals(final Object other) {
185 if (other == null || !(other instanceof KeyValue)) {
186 return false;
187 }
188 return compareTo((KeyValue) other) == 0;
189 }
190
191 public int hashCode() {
192 return Arrays.hashCode(key)

Callers

nothing calls this directly

Calls 1

compareToMethod · 0.95

Tested by

no test coverage detected