com.bigdata.btree
Class BytesUtil.UnsignedByteArrayComparator

java.lang.Object
  extended by com.bigdata.btree.BytesUtil.UnsignedByteArrayComparator
All Implemented Interfaces:
Comparator<byte[]>
Enclosing class:
BytesUtil

public static class BytesUtil.UnsignedByteArrayComparator
extends Object
implements Comparator<byte[]>

Compares two unsigned byte[]s.

Version:
$Id: BytesUtil.java 5875 2012-01-25 15:20:16Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static Comparator<byte[]> INSTANCE
           
 
Constructor Summary
BytesUtil.UnsignedByteArrayComparator()
           
 
Method Summary
 int compare(byte[] o1, byte[] o2)
           
 
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
 

Field Detail

INSTANCE

public static final transient Comparator<byte[]> INSTANCE
Constructor Detail

BytesUtil.UnsignedByteArrayComparator

public BytesUtil.UnsignedByteArrayComparator()
Method Detail

compare

public int compare(byte[] o1,
                   byte[] o2)
Specified by:
compare in interface Comparator<byte[]>


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.