diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/lang/UCharacter.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/lang/UCharacter.java | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/android_icu4j/src/main/java/android/icu/lang/UCharacter.java b/android_icu4j/src/main/java/android/icu/lang/UCharacter.java index 96c72ae5a..ad24d9e05 100644 --- a/android_icu4j/src/main/java/android/icu/lang/UCharacter.java +++ b/android_icu4j/src/main/java/android/icu/lang/UCharacter.java @@ -1,7 +1,7 @@ /* GENERATED SOURCE. DO NOT MODIFY. */ /** ******************************************************************************* - * Copyright (C) 1996-2015, International Business Machines Corporation and + * Copyright (C) 1996-2016, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ @@ -2054,8 +2054,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK 1.5 API. Return the Unicode block with the - * given name. <strong>[icu] Note:</strong> Unlike JDK 1.5, this only matches + * Alternative to the {@link java.lang.Character.UnicodeBlock#forName(String)} method. + * Returns the Unicode block with the given name. <strong>[icu] Note:</strong> Unlike + * {@link java.lang.Character.UnicodeBlock#forName(String)}, this only matches * against the official UCD name and the Java block name * (ignoring case). * @param blockName the name of the block to match @@ -5266,7 +5267,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection public static final int MIN_CODE_POINT = Character.MIN_CODE_POINT; /** - * Cover the JDK 1.5 API, for convenience. + * Equivalent to {@link Character#isValidCodePoint}. + * * @param cp the code point to check * @return true if cp is a valid code point */ @@ -5508,11 +5510,12 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK API, for convenience. Return a byte representing the directionality of - * the character. + * Equivalent to the {@link Character#getDirectionality(char)} method, for + * convenience. Returns a byte representing the directionality of the + * character. * - * <strong>[icu] Note:</strong> Unlike the JDK, this returns DIRECTIONALITY_LEFT_TO_RIGHT for undefined - * or out-of-bounds characters. + * <strong>[icu] Note:</strong> Unlike {@link Character#getDirectionality(char)}, this returns + * DIRECTIONALITY_LEFT_TO_RIGHT for undefined or out-of-bounds characters. * * <strong>[icu] Note:</strong> The return value must be tested using the constants defined in {@link * UCharacterDirection} and its interface {@link @@ -5528,7 +5531,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK API, for convenience. Count the number of code points in the range of text. + * Equivalent to the {@link Character#codePointCount(CharSequence, int, int)} + * method, for convenience. Counts the number of code points in the range + * of text. * @param text the characters to check * @param start the start of the range * @param limit the limit of the range @@ -5556,7 +5561,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK API, for convenience. Count the number of code points in the range of text. + * Equivalent to the {@link Character#codePointCount(char[], int, int)} method, for + * convenience. Counts the number of code points in the range of text. * @param text the characters to check * @param start the start of the range * @param limit the limit of the range @@ -5584,7 +5590,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK API, for convenience. Adjust the char index by a code point offset. + * Equivalent to the {@link Character#offsetByCodePoints(CharSequence, int, int)} + * method, for convenience. Adjusts the char index by a code point offset. * @param text the characters to check * @param index the index to adjust * @param codePointOffset the number of code points by which to offset the index @@ -5627,7 +5634,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection } /** - * Cover the JDK API, for convenience. Adjust the char index by a code point offset. + * Equivalent to the + * {@link Character#offsetByCodePoints(char[], int, int, int, int)} + * method, for convenience. Adjusts the char index by a code point offset. * @param text the characters to check * @param start the start of the range to check * @param count the length of the range to check |