public boolean equals(java.lang.Object obj){
  return obj.getClass() == getClass() && ((Short)obj).value == value;
}

public boolean equals ( java . lang . Object obj ) { return obj . getClass ( ) == getClass ( ) && ( ( Short ) obj ) . value == value ; }
compares this object to the specified object .
