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

Method equals

src/org/apache/pig/impl/io/FileSpec.java:63–72  ·  view source on GitHub ↗
(Object other)

Source from the content-addressed store, hash-verified

61 }
62
63 @Override
64 public boolean equals(Object other) {
65 if (other != null && other instanceof FileSpec) {
66 FileSpec ofs = (FileSpec)other;
67 if (!fileName.equals(ofs.fileName)) return false;
68 return funcSpec.equals(ofs.funcSpec);
69 } else {
70 return false;
71 }
72 }
73
74 @Override
75 public int hashCode() {

Callers 3

globMatchesFilesMethod · 0.45
fetchFilesInternalMethod · 0.45
getRecordWriterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected