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

Method compare

src/org/apache/pig/data/DataByteArray.java:211–214  ·  view source on GitHub ↗
(byte[] b1, byte[] b2)

Source from the content-addressed store, hash-verified

209 }
210
211 public static int compare(byte[] b1, byte[] b2) {
212 return WritableComparator.compareBytes(b1, 0, b1.length,
213 b2, 0, b2.length);
214 }
215
216 @Override
217 public boolean equals(Object other) {

Callers 4

compareToMethod · 0.95
compareDefaultTupleMethod · 0.95
compareMethod · 0.95
compareMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected