@Override public boolean equals(Object obj){
  if (this == obj) {
    return true;
  }
  if (obj instanceof ObjectIdentifier == false) {
    return false;
  }
  ObjectIdentifier other=(ObjectIdentifier)obj;
  return Arrays.equals(encoding,other.encoding);
}

@ Override public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj instanceof ObjectIdentifier == false ) { return false ; } ObjectIdentifier other = ( ObjectIdentifier ) obj ; return Arrays . equals ( encoding , other . encoding ) ; }
compares this identifier with another , for equality .
