changeset 3942 | 685e04a98396 |
parent 3288 | db82a42da273 |
child 3943 | 11abf5578222 |
--- a/jdk/src/share/classes/java/lang/Short.java Tue Sep 22 16:11:23 2009 -0700 +++ b/jdk/src/share/classes/java/lang/Short.java Tue Sep 22 18:30:58 2009 -0700 @@ -383,7 +383,10 @@ } /** - * Returns a hash code for this {@code Short}. + * Returns a hash code for this {@code Short}; equal to the result + * of invoking {@code intValue()}. + * + * @return a hash code value for this {@code Short} */ public int hashCode() { return (int)value;