MCPcopy Create free account
hub / github.com/antlr/codebuff / equals

Method equals

output/java_guava/1.4.17/Tables.java:106–118  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

104
105
106 @Override
107 public boolean equals(Object obj) {
108 if (obj == this) {
109 return true;
110 }
111 if (obj instanceof Cell) {
112 Cell<?, ?, ?> other = (Cell<?, ?, ?>) obj;
113 return Objects.equal(getRowKey(), other.getRowKey())
114&& Objects.equal(getColumnKey(), other.getColumnKey())
115 && Objects.equal(getValue(), other.getValue());
116 }
117 return false;
118 }
119
120 @Override
121 public int hashCode() {

Callers

nothing calls this directly

Calls 4

equalMethod · 0.95
getRowKeyMethod · 0.65
getColumnKeyMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected