co.cask.common
Class Bytes.ByteArrayComparator

java.lang.Object
  extended by 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.


Constructor Summary
Bytes.ByteArrayComparator()
          Constructor.
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

Bytes.ByteArrayComparator

public Bytes.ByteArrayComparator()
Constructor.

Method Detail

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.