MCPcopy Create free account
hub / github.com/apache/nutch / equals

Method equals

src/java/org/apache/nutch/protocol/Content.java:249–258  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

247 }
248
249 public boolean equals(Object o) {
250 if (!(o instanceof Content)) {
251 return false;
252 }
253 Content that = (Content) o;
254 return this.url.equals(that.url) && this.base.equals(that.base)
255 && Arrays.equals(this.getContent(), that.getContent())
256 && this.contentType.equals(that.contentType)
257 && this.metadata.equals(that.metadata);
258 }
259
260 public String toString() {
261 StringBuffer buffer = new StringBuffer();

Callers 2

setConfMethod · 0.45
containsMethod · 0.45

Calls 1

getContentMethod · 0.95

Tested by

no test coverage detected