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 |
|
|
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 |
*/ |
*/ |
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 |
* |
* |