public boolean equals(Object obj){
  if (this == obj) {
    return true;
  }
  if (obj instanceof ResponseAPDU == false) {
    return false;
  }
  ResponseAPDU other=(ResponseAPDU)obj;
  return Arrays.equals(this.apdu,other.apdu);
}

public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj instanceof ResponseAPDU == false ) { return false ; } ResponseAPDU other = ( ResponseAPDU ) obj ; return Arrays . equals ( this . apdu , other . apdu ) ; }
compares the specified object with this response apdu for equality . returns true if the given object is also a responseapdu and its bytes are identical to the bytes in this responseapdu .
