class ByteArrayWrapper implements Comparable<ByteArrayWrapper> {

	public boolean equals(Object other) {
		if (!(other instanceof ByteArrayWrapper))
			return false;
		byte[] otherData = ((ByteArrayWrapper) other).getData();
		return FastByteComparisons.compareTo(
				data, 0, data.length, 
				otherData, 0, otherData.length) == 0;
	}

	public  ByteArrayWrapper(byte[] data);

}