MCPcopy Create free account
hub / github.com/cmu-db/benchbase / equals

Method equals

src/main/java/com/oltpbenchmark/catalog/Table.java:101–114  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

99 }
100
101 @Override
102 public boolean equals(Object o) {
103 if (this == o) {
104 return true;
105 }
106 if (o == null || getClass() != o.getClass()) {
107 return false;
108 }
109 if (!super.equals(o)) {
110 return false;
111 }
112 Table table = (Table) o;
113 return Objects.equals(columns, table.columns) && Objects.equals(indexes, table.indexes);
114 }
115
116 @Override
117 public int hashCode() {

Callers

nothing calls this directly

Calls 1

getClassMethod · 0.80

Tested by

no test coverage detected