/[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.37 by rabbit78, Wed Aug 17 14:12:27 2005 UTC revision 1.38 by tromey, Wed Sep 14 15:14:15 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 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 1480  public final class Character implements Line 1480  public final class Character implements
1480    
1481    
1482    /**    /**
1483     * Minimum high surrrogate code in UTF-16 encoding.     * Minimum high surrogate code in UTF-16 encoding.
1484     *     *
1485     * @since 1.5     * @since 1.5
1486     */     */
1487    public static final char MIN_HIGH_SURROGATE = '\ud800';    public static final char MIN_HIGH_SURROGATE = '\ud800';
1488    
1489    /**    /**
1490     * Maximum high surrrogate code in UTF-16 encoding.     * Maximum high surrogate code in UTF-16 encoding.
1491     *     *
1492     * @since 1.5     * @since 1.5
1493     */     */
1494    public static final char MAX_HIGH_SURROGATE = '\udbff';    public static final char MAX_HIGH_SURROGATE = '\udbff';
1495    
1496    /**    /**
1497     * Minimum low surrrogate code in UTF-16 encoding.     * Minimum low surrogate code in UTF-16 encoding.
1498     *     *
1499     * @since 1.5     * @since 1.5
1500     */     */
1501    public static final char MIN_LOW_SURROGATE = '\udc00';    public static final char MIN_LOW_SURROGATE = '\udc00';
1502    
1503    /**    /**
1504     * Maximum low surrrogate code in UTF-16 encoding.     * Maximum low surrogate code in UTF-16 encoding.
1505     *     *
1506     * @since 1.5     * @since 1.5
1507     */     */
# Line 2370  public final class Character implements Line 2370  public final class Character implements
2370     * Return number of 16-bit characters required to represent the given     * Return number of 16-bit characters required to represent the given
2371     * code point.     * code point.
2372     *     *
2373     * @param codePoint a uncode code point     * @param codePoint a unicode code point
2374     *     *
2375     * @return 2 if codePoint >= 0x10000, 1 otherwise.     * @return 2 if codePoint >= 0x10000, 1 otherwise.
2376     *     *

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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