class BlobKey implements Serializable, Comparable<BlobKey> {

	@Override
	public int compareTo(BlobKey o) {
	
		final byte[] aarr = this.key;
		final byte[] barr = o.key;
		final int len = Math.min(aarr.length, barr.length);
	
		for (int i = 0; i < len; ++i) {
			final int a = (aarr[i] & 0xff);
			final int b = (barr[i] & 0xff);
			if (a != b) {
				return a - b;
			}
		}
	
		return aarr.length - barr.length;
	}

	public  BlobKey();
	  BlobKey(byte[] key);

}