src/share/classes/java/lang/Long.java
Print this page
*** 759,769 ****
*
* @return a string representation of the value of this object in
* base 10.
*/
public String toString() {
! return String.valueOf(value);
}
/**
* Returns a hash code for this {@code Long}. The result is
* the exclusive OR of the two halves of the primitive
--- 759,769 ----
*
* @return a string representation of the value of this object in
* base 10.
*/
public String toString() {
! return toString(value);
}
/**
* Returns a hash code for this {@code Long}. The result is
* the exclusive OR of the two halves of the primitive