ICU-2661 update @draft tags
X-SVN-Rev: 12096
This commit is contained in:
parent
fb112f646d
commit
c3eb3e111f
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/lang/UCharacter.java,v $
|
||||
* $Date: 2003/05/14 18:38:09 $
|
||||
* $Revision: 1.73 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.74 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -2965,7 +2965,7 @@ public final class UCharacter
|
||||
* incurs a one-time initialisation cost to construct the name tables.
|
||||
* @param ch the code point for which to get the name
|
||||
* @return a name for the argument codepoint
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static String getExtendedName(int ch)
|
||||
{
|
||||
@ -3053,7 +3053,7 @@ public final class UCharacter
|
||||
* @param name codepoint name
|
||||
* @return code point associated with the name or -1 if the name is not
|
||||
* found.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int getCharFromExtendedName(String name)
|
||||
{
|
||||
@ -3294,7 +3294,7 @@ public final class UCharacter
|
||||
* @param breakiter break iterator to determine the positions in which
|
||||
* the character should be title cased.
|
||||
* @return lowercase version of the argument string
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static String toTitleCase(String str, BreakIterator breakiter)
|
||||
{
|
||||
@ -3353,7 +3353,7 @@ public final class UCharacter
|
||||
* @param breakiter break iterator to determine the positions in which
|
||||
* the character should be title cased.
|
||||
* @return lowercase version of the argument string
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static String toTitleCase(Locale locale, String str,
|
||||
BreakIterator breakiter)
|
||||
@ -3871,7 +3871,7 @@ public final class UCharacter
|
||||
* }
|
||||
* </pre>
|
||||
* @return an iterator
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static RangeValueIterator getTypeIterator()
|
||||
{
|
||||
@ -3896,7 +3896,7 @@ public final class UCharacter
|
||||
* <p>The maximal range which the name iterator iterates is from
|
||||
* UCharacter.MIN_VALUE to UCharacter.MAX_VALUE.</p>
|
||||
* @return an iterator
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static ValueIterator getNameIterator()
|
||||
{
|
||||
@ -3924,7 +3924,7 @@ public final class UCharacter
|
||||
* </pre>
|
||||
* <p>The maximal range which the name iterator iterates is from
|
||||
* @return an iterator
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static ValueIterator getName1_0Iterator()
|
||||
{
|
||||
@ -3952,7 +3952,7 @@ public final class UCharacter
|
||||
* </pre>
|
||||
* <p>The maximal range which the name iterator iterates is from
|
||||
* @return an iterator
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static ValueIterator getExtendedNameIterator()
|
||||
{
|
||||
@ -3973,7 +3973,7 @@ public final class UCharacter
|
||||
* <p>The data is from the UCD file DerivedAge.txt.</p>
|
||||
* @param ch The code point.
|
||||
* @return the Unicode version number
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getAge(int ch)
|
||||
{
|
||||
@ -4006,7 +4006,7 @@ public final class UCharacter
|
||||
* Unicode version does not have data for the property at all, or
|
||||
* not for this code point.
|
||||
* @see com.ibm.icu.lang.UProperty
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static boolean hasBinaryProperty(int ch, int property)
|
||||
{
|
||||
@ -4020,7 +4020,7 @@ public final class UCharacter
|
||||
* <p>Check if a code point has the Alphabetic Unicode property.</p>
|
||||
* <p>Same as UCharacter.hasBinaryProperty(ch, UProperty.ALPHABETIC).</p>
|
||||
* <p>Different from UCharacter.isLetter(ch)!</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
* @param ch codepoint to be tested
|
||||
*/
|
||||
public static boolean isUAlphabetic(int ch)
|
||||
@ -4033,7 +4033,7 @@ public final class UCharacter
|
||||
* <p>Same as UCharacter.hasBinaryProperty(ch, UProperty.LOWERCASE).</p>
|
||||
* <p>This is different from UCharacter.isLowerCase(ch)!</p>
|
||||
* @param ch codepoint to be tested
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static boolean isULowercase(int ch)
|
||||
{
|
||||
@ -4045,7 +4045,7 @@ public final class UCharacter
|
||||
* <p>Same as UCharacter.hasBinaryProperty(ch, UProperty.UPPERCASE).</p>
|
||||
* <p>This is different from UCharacter.isUpperCase(ch)!</p>
|
||||
* @param ch codepoint to be tested
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static boolean isUUppercase(int ch)
|
||||
{
|
||||
@ -4058,7 +4058,7 @@ public final class UCharacter
|
||||
* <p>This is different from both UCharacter.isSpace(ch) and
|
||||
* UCharacter.isWhitespace(ch)!</p>
|
||||
* @param ch codepoint to be tested
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static boolean isUWhiteSpace(int ch)
|
||||
{
|
||||
@ -4667,6 +4667,7 @@ public final class UCharacter
|
||||
* is never negative.
|
||||
* @param ch code point whose property value is to be retrieved
|
||||
* @return property value of code point
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public static int getProperty(int ch)
|
||||
{
|
||||
|
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterCategory.java $
|
||||
* $Date: 2002/12/11 23:37:43 $
|
||||
* $Revision: 1.11 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.12 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -39,7 +39,7 @@ public final class UCharacterCategory
|
||||
/**
|
||||
* Character type Cn
|
||||
* Not Assigned (no characters in [UnicodeData.txt] have this property)
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int GENERAL_OTHER_TYPES = 0;
|
||||
/**
|
||||
|
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterCategory.java $
|
||||
* $Date: 2003/04/03 22:52:40 $
|
||||
* $Revision: 1.12 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.13 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -30,7 +30,7 @@ package com.ibm.icu.lang;
|
||||
* 3.2, then properties marked with "new" are not or not fully
|
||||
* available. Check UCharacter.getUnicodeVersion() to be sure.</p>
|
||||
* @author Syn Wee Quek
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
* @see com.ibm.icu.lang.UCharacter
|
||||
*/
|
||||
public interface UProperty
|
||||
@ -42,24 +42,24 @@ public interface UProperty
|
||||
* <p>Property for UCharacter.isUAlphabetic(), different from the property
|
||||
* in UCharacter.isalpha().</p>
|
||||
* <p>Lu + Ll + Lt + Lm + Lo + Nl + Other_Alphabetic.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int ALPHABETIC = 0;
|
||||
/**
|
||||
* First constant for binary Unicode properties.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int BINARY_START = ALPHABETIC;
|
||||
/**
|
||||
* Binary property ASCII_Hex_Digit (0-9 A-F a-f).
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int ASCII_HEX_DIGIT = 1;
|
||||
/**
|
||||
* <p>Binary property Bidi_Control.</p>
|
||||
* <p>Format controls which have specific functions in the Bidi Algorithm.
|
||||
* </p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int BIDI_CONTROL = 2;
|
||||
/**
|
||||
@ -67,13 +67,13 @@ public interface UProperty
|
||||
* <p>Characters that may change display in RTL text.</p>
|
||||
* <p>Property for UCharacter.isMirrored().</p>
|
||||
* <p>See Bidi Algorithm; UTR 9.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int BIDI_MIRRORED = 3;
|
||||
/**
|
||||
* <p>Binary property Dash.</p>
|
||||
* <p>Variations of dashes.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int DASH = 4;
|
||||
/**
|
||||
@ -83,114 +83,114 @@ public interface UProperty
|
||||
* </p>
|
||||
* <p>Codepoints (2060..206F, FFF0..FFFB, E0000..E0FFF) +
|
||||
* Other_Default_Ignorable_Code_Point + (Cf + Cc + Cs - White_Space)</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int DEFAULT_IGNORABLE_CODE_POINT = 5;
|
||||
/**
|
||||
* <p>Binary property Deprecated (new).</p>
|
||||
* <p>The usage of deprecated characters is strongly discouraged.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int DEPRECATED = 6;
|
||||
/**
|
||||
* <p>Binary property Diacritic.</p>
|
||||
* <p>Characters that linguistically modify the meaning of another
|
||||
* character to which they apply.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int DIACRITIC = 7;
|
||||
/**
|
||||
* <p>Binary property Extender.</p>
|
||||
* <p>Extend the value or shape of a preceding alphabetic character, e.g.
|
||||
* length and iteration marks.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int EXTENDER = 8;
|
||||
/**
|
||||
* <p>Binary property Full_Composition_Exclusion.</p>
|
||||
* <p>CompositionExclusions.txt + Singleton Decompositions +
|
||||
* Non-Starter Decompositions.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int FULL_COMPOSITION_EXCLUSION = 9;
|
||||
/**
|
||||
* <p>Binary property Grapheme_Base (new).</p>
|
||||
* <p>For programmatic determination of grapheme cluster boundaries.
|
||||
* [0..10FFFF]-Cc-Cf-Cs-Co-Cn-Zl-Zp-Grapheme_Link-Grapheme_Extend-CGJ</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int GRAPHEME_BASE = 10;
|
||||
/**
|
||||
* <p>Binary property Grapheme_Extend (new).</p>
|
||||
* <p>For programmatic determination of grapheme cluster boundaries.</p>
|
||||
* <p>Me+Mn+Mc+Other_Grapheme_Extend-Grapheme_Link-CGJ</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int GRAPHEME_EXTEND = 11;
|
||||
/**
|
||||
* <p>Binary property Grapheme_Link (new).</p>
|
||||
* <p>For programmatic determination of grapheme cluster boundaries.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int GRAPHEME_LINK = 12;
|
||||
/**
|
||||
* <p>Binary property Hex_Digit.</p>
|
||||
* <p>Characters commonly used for hexadecimal numbers.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int HEX_DIGIT = 13;
|
||||
/**
|
||||
* <p>Binary property Hyphen.</p>
|
||||
* <p>Dashes used to mark connections between pieces of words, plus the
|
||||
* Katakana middle dot.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int HYPHEN = 14;
|
||||
/**
|
||||
* <p>Binary property ID_Continue.</p>
|
||||
* <p>Characters that can continue an identifier.</p>
|
||||
* <p>ID_Start+Mn+Mc+Nd+Pc</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int ID_CONTINUE = 15;
|
||||
/**
|
||||
* <p>Binary property ID_Start.</p>
|
||||
* <p>Characters that can start an identifier.</p>
|
||||
* <p>Lu+Ll+Lt+Lm+Lo+Nl</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int ID_START = 16;
|
||||
/**
|
||||
* <p>Binary property Ideographic.</p>
|
||||
* <p>CJKV ideographs.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int IDEOGRAPHIC = 17;
|
||||
/**
|
||||
* <p>Binary property IDS_Binary_Operator (new).</p>
|
||||
* <p>For programmatic determination of Ideographic Description Sequences.
|
||||
* </p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int IDS_BINARY_OPERATOR = 18;
|
||||
/**
|
||||
* <p>Binary property IDS_Trinary_Operator (new).</p>
|
||||
* <p?For programmatic determination of Ideographic Description
|
||||
* Sequences.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int IDS_TRINARY_OPERATOR = 19;
|
||||
/**
|
||||
* <p>Binary property Join_Control.</p>
|
||||
* <p>Format controls for cursive joining and ligation.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int JOIN_CONTROL = 20;
|
||||
/**
|
||||
* <p>Binary property Logical_Order_Exception (new).</p>
|
||||
* <p>Characters that do not use logical order and require special
|
||||
* handling in most processing.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int LOGICAL_ORDER_EXCEPTION = 21;
|
||||
/**
|
||||
@ -198,52 +198,52 @@ public interface UProperty
|
||||
* <p>Same as UCharacter.isULowercase(), different from
|
||||
* UCharacter.islower().</p>
|
||||
* <p>Ll+Other_Lowercase</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int LOWERCASE = 22;
|
||||
/** <p>Binary property Math.</p>
|
||||
* <p>Sm+Other_Math</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int MATH = 23;
|
||||
/**
|
||||
* <p>Binary property Noncharacter_Code_Point.</p>
|
||||
* <p>Code points that are explicitly defined as illegal for the encoding
|
||||
* of characters.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int NONCHARACTER_CODE_POINT = 24;
|
||||
/**
|
||||
* <p>Binary property Quotation_Mark.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int QUOTATION_MARK = 25;
|
||||
/**
|
||||
* <p>Binary property Radical (new).</p>
|
||||
* <p>For programmatic determination of Ideographic Description
|
||||
* Sequences.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int RADICAL = 26;
|
||||
/**
|
||||
* <p>Binary property Soft_Dotted (new).</p>
|
||||
* <p>Characters with a "soft dot", like i or j.</p>
|
||||
* <p>An accent placed on these characters causes the dot to disappear.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int SOFT_DOTTED = 27;
|
||||
/**
|
||||
* <p>Binary property Terminal_Punctuation.</p>
|
||||
* <p>Punctuation characters that generally mark the end of textual
|
||||
* units.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int TERMINAL_PUNCTUATION = 28;
|
||||
/**
|
||||
* <p>Binary property Unified_Ideograph (new).</p>
|
||||
* <p>For programmatic determination of Ideographic Description
|
||||
* Sequences.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int UNIFIED_IDEOGRAPH = 29;
|
||||
/**
|
||||
@ -251,7 +251,7 @@ public interface UProperty
|
||||
* <p>Same as UCharacter.isUUppercase(), different from
|
||||
* UCharacter.isUpperCase().</p>
|
||||
* <p>Lu+Other_Uppercase</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int UPPERCASE = 30;
|
||||
/**
|
||||
@ -259,21 +259,21 @@ public interface UProperty
|
||||
* <p>Same as UCharacter.isUWhiteSpace(), different from
|
||||
* UCharacter.isSpace() and UCharacter.isWhitespace().</p>
|
||||
* Space characters+TAB+CR+LF-ZWSP-ZWNBSP</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int WHITE_SPACE = 31;
|
||||
/**
|
||||
* <p>Binary property XID_Continue.</p>
|
||||
* <p>ID_Continue modified to allow closure under normalization forms
|
||||
* NFKC and NFKD.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int XID_CONTINUE = 32;
|
||||
/**
|
||||
* <p>Binary property XID_Start.</p>
|
||||
* <p>ID_Start modified to allow closure under normalization forms NFKC
|
||||
* and NFKD.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int XID_START = 33;
|
||||
/**
|
||||
@ -286,7 +286,7 @@ public interface UProperty
|
||||
public static final int CASE_SENSITIVE = 34;
|
||||
/**
|
||||
* <p>One more than the last constant for binary Unicode properties.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final int BINARY_LIMIT = 35;
|
||||
/**
|
||||
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/CollationKey.java,v $
|
||||
* $Date: 2003/02/27 23:43:16 $
|
||||
* $Revision: 1.14 $
|
||||
* $Date: 2003/05/24 00:48:07 $
|
||||
* $Revision: 1.15 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -104,21 +104,30 @@ public final class CollationKey implements Comparable
|
||||
|
||||
/**
|
||||
* Lower bound
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public static final int LOWER = 0;
|
||||
/**
|
||||
* Upper bound that will match strings of exact size
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public static final int UPPER = 1;
|
||||
/**
|
||||
* Upper bound that will match all the strings that have the same
|
||||
* initial substring as the given string
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public static final int UPPER_LONG = 2;
|
||||
/**
|
||||
* Number of bound mode
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public static final int COUNT = 3;
|
||||
|
||||
/**
|
||||
* Private Constructor
|
||||
*/
|
||||
private BoundMode(){};
|
||||
};
|
||||
|
||||
// public constructor ---------------------------------------------------
|
||||
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Normalizer.java,v $
|
||||
* $Date: 2003/05/14 19:03:30 $
|
||||
* $Revision: 1.31 $
|
||||
* $Date: 2003/05/24 00:48:07 $
|
||||
* $Revision: 1.32 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -2002,6 +2002,7 @@ public final class Normalizer implements Cloneable{
|
||||
* turn the option on and <tt>false</tt> to turn it off.
|
||||
*
|
||||
* @see #getOption
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public void setOption(int option,boolean value) {
|
||||
if (value) {
|
||||
@ -2015,6 +2016,7 @@ public final class Normalizer implements Cloneable{
|
||||
* Determine whether an option is turned on or off.
|
||||
* <p>
|
||||
* @see #setOption
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
public int getOption(int option){
|
||||
if((options & option)!=0){
|
||||
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/UTF16.java,v $
|
||||
* $Date: 2003/02/11 01:19:01 $
|
||||
* $Revision: 1.29 $
|
||||
* $Date: 2003/05/24 00:48:07 $
|
||||
* $Revision: 1.30 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -1510,7 +1510,7 @@ public final class UTF16
|
||||
* @param char32 codepoint to search for
|
||||
* @return the index of the first occurrence of the codepoint in the
|
||||
* argument Unicode string, or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int indexOf(String source, int char32)
|
||||
{
|
||||
@ -1570,7 +1570,7 @@ public final class UTF16
|
||||
* @param str UTF16 format Unicode string to search for
|
||||
* @return the index of the first occurrence of the codepoint in the
|
||||
* argument Unicode string, or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int indexOf(String source, String str)
|
||||
{
|
||||
@ -1619,7 +1619,7 @@ public final class UTF16
|
||||
* @return the index of the first occurrence of the codepoint in the
|
||||
* argument Unicode string at or after fromIndex, or -1 if the
|
||||
* codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int indexOf(String source, int char32, int fromIndex)
|
||||
{
|
||||
@ -1680,7 +1680,7 @@ public final class UTF16
|
||||
* @param fromIndex the index to start the search from.
|
||||
* @return the index of the first occurrence of the codepoint in the
|
||||
* argument Unicode string, or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int indexOf(String source, String str, int fromIndex)
|
||||
{
|
||||
@ -1727,7 +1727,7 @@ public final class UTF16
|
||||
* @param char32 codepoint to search for
|
||||
* @return the index of the last occurrence of the codepoint in source,
|
||||
* or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int lastIndexOf(String source, int char32)
|
||||
{
|
||||
@ -1786,7 +1786,7 @@ public final class UTF16
|
||||
* @param str UTF16 format Unicode string to search for
|
||||
* @return the index of the last occurrence of the codepoint in source,
|
||||
* or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int lastIndexOf(String source, String str)
|
||||
{
|
||||
@ -1843,7 +1843,7 @@ public final class UTF16
|
||||
* the same effect as if it were -1: -1 is returned.
|
||||
* @return the index of the last occurrence of the codepoint in source,
|
||||
* or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int lastIndexOf(String source, int char32, int fromIndex)
|
||||
{
|
||||
@ -1914,7 +1914,7 @@ public final class UTF16
|
||||
* the same effect as if it were -1: -1 is returned.
|
||||
* @return the index of the last occurrence of the codepoint in source,
|
||||
* or -1 if the codepoint does not occur.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static int lastIndexOf(String source, String str, int fromIndex)
|
||||
{
|
||||
@ -1970,7 +1970,7 @@ public final class UTF16
|
||||
* @return new String derived from source by replacing every occurrence
|
||||
* of oldChar32 with newChar32, unless when no oldChar32 is found
|
||||
* in source then source will be returned.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static String replace(String source, int oldChar32,
|
||||
int newChar32)
|
||||
@ -2039,7 +2039,7 @@ public final class UTF16
|
||||
* @return new String derived from source by replacing every occurrence
|
||||
* of oldChar32 with newChar32, unless when no oldChar32 is found
|
||||
* in source then source will be returned.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static String replace(String source, String oldStr,
|
||||
String newStr)
|
||||
@ -2076,7 +2076,7 @@ public final class UTF16
|
||||
* @param source the source StringBuffer that contains UTF16 format
|
||||
* Unicode string to be reversed
|
||||
* @return a modified source with reversed UTF16 format Unicode string.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static StringBuffer reverse(StringBuffer source)
|
||||
{
|
||||
|
@ -5,8 +5,8 @@
|
||||
******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/util/RangeValueIterator.java,v $
|
||||
* $Date: 2002/12/03 20:46:09 $
|
||||
* $Revision: 1.5 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.6 $
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
@ -49,7 +49,7 @@ package com.ibm.icu.util;
|
||||
* }
|
||||
* </pre>
|
||||
* @author synwee
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public interface RangeValueIterator
|
||||
{
|
||||
@ -59,7 +59,7 @@ public interface RangeValueIterator
|
||||
* Return result wrapper for com.ibm.icu.util.RangeValueIterator.
|
||||
* Stores the start and limit of the continous result range and the
|
||||
* common value all integers between [start, limit - 1] has.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public class Element
|
||||
{
|
||||
@ -68,18 +68,18 @@ public interface RangeValueIterator
|
||||
/**
|
||||
* Starting integer of the continuous result range that has the same
|
||||
* value
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int start;
|
||||
/**
|
||||
* (End + 1) integer of continuous result range that has the same
|
||||
* value
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int limit;
|
||||
/**
|
||||
* Gets the common value of the continous result range
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int value;
|
||||
|
||||
@ -104,13 +104,13 @@ public interface RangeValueIterator
|
||||
* @param element for storing the result range and value
|
||||
* @return true if we are not at the end of the iteration, false otherwise.
|
||||
* @see Element
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public boolean next(Element element);
|
||||
|
||||
/**
|
||||
* Resets the iterator to the beginning of the iteration.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public void reset();
|
||||
}
|
@ -5,8 +5,8 @@
|
||||
******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/util/ValueIterator.java,v $
|
||||
* $Date: 2002/12/03 20:46:09 $
|
||||
* $Revision: 1.9 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.10 $
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
@ -36,7 +36,7 @@ package com.ibm.icu.util;
|
||||
* }
|
||||
* </pre>
|
||||
* @author synwee
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public interface ValueIterator
|
||||
{
|
||||
@ -45,7 +45,7 @@ public interface ValueIterator
|
||||
/**
|
||||
* <p>The return result container of each iteration. Stores the next
|
||||
* integer index and its associated value Object.</p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final class Element
|
||||
{
|
||||
@ -53,12 +53,12 @@ public interface ValueIterator
|
||||
|
||||
/**
|
||||
* Integer index of the current iteration
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int integer;
|
||||
/**
|
||||
* Gets the Object value associated with the integer index.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public Object value;
|
||||
|
||||
@ -83,7 +83,7 @@ public interface ValueIterator
|
||||
* @param element for storing the result index and value
|
||||
* @return true if we are not at the end of the iteration, false otherwise.
|
||||
* @see Element
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public boolean next(Element element);
|
||||
|
||||
@ -91,7 +91,7 @@ public interface ValueIterator
|
||||
* <p>Resets the iterator to start iterating from the integer index
|
||||
* Integer.MIN_VALUE or X if a setRange(X, Y) has been called previously.
|
||||
* </p>
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public void reset();
|
||||
|
||||
@ -109,7 +109,7 @@ public interface ValueIterator
|
||||
* @param limit 1 integer after the last integer in range
|
||||
* @exception IllegalArgumentException thrown when attempting to set an
|
||||
* illegal range. E.g limit <= start
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public void setRange(int start, int end);
|
||||
}
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/util/VersionInfo.java,v $
|
||||
* $Date: 2003/05/14 19:03:48 $
|
||||
* $Revision: 1.12 $
|
||||
* $Date: 2003/05/24 00:48:08 $
|
||||
* $Revision: 1.13 $
|
||||
*
|
||||
* jitterbug 1741
|
||||
*****************************************************************************************
|
||||
@ -19,7 +19,7 @@ import java.util.HashMap;
|
||||
/**
|
||||
* Class to store version numbers of the form major.minor.milli.micro.
|
||||
* @author synwee
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public final class VersionInfo
|
||||
{
|
||||
@ -27,72 +27,72 @@ public final class VersionInfo
|
||||
|
||||
/**
|
||||
* Unicode 1.0 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_1_0;
|
||||
/**
|
||||
* Unicode 1.0.1 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_1_0_1;
|
||||
/**
|
||||
* Unicode 1.1.0 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_1_1_0;
|
||||
/**
|
||||
* Unicode 1.1.5 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_1_1_5;
|
||||
/**
|
||||
* Unicode 2.0 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_2_0;
|
||||
/**
|
||||
* Unicode 2.1.2 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_2_1_2;
|
||||
/**
|
||||
* Unicode 2.1.5 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_2_1_5;
|
||||
/**
|
||||
* Unicode 2.1.8 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_2_1_8;
|
||||
/**
|
||||
* Unicode 2.1.9 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_2_1_9;
|
||||
/**
|
||||
* Unicode 3.0 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_3_0;
|
||||
/**
|
||||
* Unicode 3.0.1 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_3_0_1;
|
||||
/**
|
||||
* Unicode 3.1.0 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_3_1_0;
|
||||
/**
|
||||
* Unicode 3.1.1 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_3_1_1;
|
||||
/**
|
||||
* Unicode 3.2 version
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static final VersionInfo UNICODE_3_2;
|
||||
|
||||
@ -121,7 +121,7 @@ public final class VersionInfo
|
||||
* @return an instance of VersionInfo with the argument version.
|
||||
* @exception throws an IllegalArgumentException when the argument version
|
||||
* is not in the right format
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getInstance(String version)
|
||||
{
|
||||
@ -166,7 +166,7 @@ public final class VersionInfo
|
||||
* @param micro micro version, non-negative number <= 255.
|
||||
* @exception throws an IllegalArgumentException when either arguments are
|
||||
* negative or > 255
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getInstance(int major, int minor, int milli,
|
||||
int micro)
|
||||
@ -195,7 +195,7 @@ public final class VersionInfo
|
||||
* @param milli milli version, non-negative number <= 255.
|
||||
* @exception throws an IllegalArgumentException when either arguments are
|
||||
* negative or > 255
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getInstance(int major, int minor, int milli)
|
||||
{
|
||||
@ -209,7 +209,7 @@ public final class VersionInfo
|
||||
* @param minor minor version, non-negative number <= 255.
|
||||
* @exception throws an IllegalArgumentException when either arguments are
|
||||
* negative or > 255
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getInstance(int major, int minor)
|
||||
{
|
||||
@ -222,7 +222,7 @@ public final class VersionInfo
|
||||
* @param major major version, non-negative number <= 255.
|
||||
* @exception throws an IllegalArgumentException when either arguments are
|
||||
* negative or > 255
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public static VersionInfo getInstance(int major)
|
||||
{
|
||||
@ -233,7 +233,7 @@ public final class VersionInfo
|
||||
* Returns the String representative of VersionInfo in the format of
|
||||
* "major.minor.milli.micro"
|
||||
* @return String representative of VersionInfo
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public String toString()
|
||||
{
|
||||
@ -251,7 +251,7 @@ public final class VersionInfo
|
||||
/**
|
||||
* Returns the major version number
|
||||
* @return the major version number
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int getMajor()
|
||||
{
|
||||
@ -261,7 +261,7 @@ public final class VersionInfo
|
||||
/**
|
||||
* Returns the minor version number
|
||||
* @return the minor version number
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int getMinor()
|
||||
{
|
||||
@ -271,7 +271,7 @@ public final class VersionInfo
|
||||
/**
|
||||
* Returns the milli version number
|
||||
* @return the milli version number
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int getMilli()
|
||||
{
|
||||
@ -281,7 +281,7 @@ public final class VersionInfo
|
||||
/**
|
||||
* Returns the micro version number
|
||||
* @return the micro version number
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int getMicro()
|
||||
{
|
||||
@ -293,7 +293,7 @@ public final class VersionInfo
|
||||
* @param other object to be compared
|
||||
* @return true if other is equals to this object's version information,
|
||||
* false otherwise
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public boolean equals(Object other)
|
||||
{
|
||||
@ -309,7 +309,7 @@ public final class VersionInfo
|
||||
* version information greater than this object.
|
||||
* Greater than 0 if the argument is a VersionInfo object that
|
||||
* has version information less than this object.
|
||||
* @draft ICU 2.1
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
public int compareTo(VersionInfo other)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user