co.cask.common
Class Bytes.ByteArrayComparator
java.lang.Object
co.cask.common.Bytes.ByteArrayComparator
- All Implemented Interfaces:
- Comparator<byte[]>
- Enclosing class:
- Bytes
public static class Bytes.ByteArrayComparator
- extends Object
- implements Comparator<byte[]>
Byte array comparator class.
|
Method Summary |
int |
compare(byte[] left,
byte[] right)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bytes.ByteArrayComparator
public Bytes.ByteArrayComparator()
- Constructor.
compare
public int compare(byte[] left,
byte[] right)
- Specified by:
compare in interface Comparator<byte[]>
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.