code: public static void main(final String[] args) {
  		ByteArray8Holder b1 = new ByteArray8Holder(new byte[] {
  				0, 0, 0, 0, 0, 0, 0, 1
  		});
  		ByteArray8Holder b2 = new ByteArray8Holder(new byte[] {
  				0, 0, 0, 0, 0, 0, 0, 2
  		});
  		ByteArray8Holder b2b = new ByteArray8Holder(new byte[] {
  				0, 0, 0, 0, 0, 0, 0, 2
  		});
  		System.out.println("compareTo=" + Integer.valueOf(0).compareTo(Integer.valueOf(1)));
  		System.out.println("b1.compareTo(b2)=" + b1.compareTo(b2));
  		System.out.println("b1.equals(b2)=" + b1.equals(b2));
  		System.out.println("b2.equals(b2b)=" + b2.equals(b2b));
  		System.out.println("b1.hashCode()=" + b1.hashCode());
  		System.out.println("b2.hashCode()=" + b2.hashCode());
  		System.out.println("b2b.hashCode()=" + b2b.hashCode());
  		System.out.println("b2b.toString()=" + b2b.toString());
  	}
docs: Simple Test