/[classpath]/classpath/java/lang/Character.java
ViewVC logotype

Diff of /classpath/java/lang/Character.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33.2.4 by tromey, Sat Nov 6 22:11:53 2004 UTC revision 1.33.2.5 by gnu_andrew, Mon Jan 10 18:25:47 2005 UTC
# Line 1  Line 1 
1  /* java.lang.Character -- Wrapper class for char, and Unicode subsets  /* java.lang.Character -- Wrapper class for char, and Unicode subsets
2     Copyright (C) 1998, 1999, 2001, 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 58  import gnu.java.lang.CharData; Line 58  import gnu.java.lang.CharData;
58   * <p>See <a href="http://www.unicode.org">http://www.unicode.org</a>   * <p>See <a href="http://www.unicode.org">http://www.unicode.org</a>
59   * for more information on the Unicode Standard.   * for more information on the Unicode Standard.
60   *   *
61   * @author Tom Tromey <tromey@cygnus.com>   * @author Tom Tromey (tromey@cygnus.com)
62   * @author Paul N. Fisher   * @author Paul N. Fisher
63   * @author Jochen Hoenicke   * @author Jochen Hoenicke
64   * @author Eric Blake <ebb9@email.byu.edu>   * @author Eric Blake (ebb9@email.byu.edu)
65     * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
66   * @see CharData   * @see CharData
67   * @since 1.0   * @since 1.0
68   * @status partly updated to 1.5; some things still missing   * @status partly updated to 1.5; some things still missing
# Line 2246  public final class Character implements Line 2247  public final class Character implements
2247    }    }
2248    
2249    /**    /**
    * Compares an object to this Character.  Assuming the object is a  
    * Character object, this method performs the same comparison as  
    * compareTo(Character).  
    *  
    * @param o object to compare  
    * @return the comparison value  
    * @throws ClassCastException if o is not a Character object  
    * @throws NullPointerException if o is null  
    * @see #compareTo(Character)  
    * @since 1.2  
    */  
   public int compareTo(Object o)  
   {  
     return compareTo((Character) o);  
   }  
   
   /**  
2250     * Returns an <code>Character</code> object wrapping the value.     * Returns an <code>Character</code> object wrapping the value.
2251     * In contrast to the <code>Character</code> constructor, this method     * In contrast to the <code>Character</code> constructor, this method
2252     * will cache some values.  It is used by boxing conversion.     * will cache some values.  It is used by boxing conversion.

Legend:
Removed from v.1.33.2.4  
changed lines
  Added in v.1.33.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26