|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tuple.hadoop.util.BytesComparator
public class BytesComparator
Class BytesComparator is used to compare arrays of bytes.
Constructor Summary | |
---|---|
BytesComparator()
|
Method Summary | |
---|---|
int |
compare(BufferedInputStream lhsStream,
BufferedInputStream rhsStream)
|
int |
compare(byte[] lhs,
byte[] rhs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public BytesComparator()
Method Detail |
---|
public int compare(byte[] lhs, byte[] rhs)
compare
in interface java.util.Comparator<byte[]>
public int compare(BufferedInputStream lhsStream, BufferedInputStream rhsStream)
compare
in interface StreamComparator<BufferedInputStream>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |