JAVA-735 Binary.java should implements Equals and HashCode