MCPcopy Create free account
hub / github.com/bytedance/terarkdb / equals

Method equals

java/src/main/java/org/rocksdb/DbPath.java:22–39  ·  view source on GitHub ↗
(final Object o)

Source from the content-addressed store, hash-verified

20 }
21
22 @Override
23 public boolean equals(final Object o) {
24 if (this == o) {
25 return true;
26 }
27
28 if (o == null || getClass() != o.getClass()) {
29 return false;
30 }
31
32 final DbPath dbPath = (DbPath) o;
33
34 if (targetSize != dbPath.targetSize) {
35 return false;
36 }
37
38 return path != null ? path.equals(dbPath.path) : dbPath.path == null;
39 }
40
41 @Override
42 public int hashCode() {

Callers 5

mainMethod · 0.45
mainMethod · 0.45
parseBooleanMethod · 0.45
loadLibraryMethod · 0.45
getCompressionTypeMethod · 0.45

Calls 1

getClassMethod · 0.80

Tested by

no test coverage detected