jdk/src/share/classes/java/lang/Character.java
changeset 3942 685e04a98396
parent 3719 b00a1e55ec44
child 3943 11abf5578222
equal deleted inserted replaced
3941:7b53330adf8f 3942:685e04a98396
  2610     public char charValue() {
  2610     public char charValue() {
  2611         return value;
  2611         return value;
  2612     }
  2612     }
  2613 
  2613 
  2614     /**
  2614     /**
  2615      * Returns a hash code for this <code>Character</code>.
  2615      * Returns a hash code for this {@code Character}; equal to the result
  2616      * @return  a hash code value for this object.
  2616      * of invoking {@code charValue()}.
       
  2617      *
       
  2618      * @return a hash code value for this {@code Character}
  2617      */
  2619      */
  2618     public int hashCode() {
  2620     public int hashCode() {
  2619         return (int)value;
  2621         return (int)value;
  2620     }
  2622     }
  2621 
  2623