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

public boolean equals ( java . lang . Object obj ) { return obj != null && obj . getClass ( ) == getClass ( ) && ( ( Long ) obj ) . value == value ; }
compares this object against the specified object . the result is true if and only if the argument is not null and is a long object that contains the same long value as this object .
