From c3eb3e111f400c49d59afc3e1813ed04beb6a958 Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Sat, 24 May 2003 00:48:08 +0000 Subject: [PATCH] ICU-2661 update @draft tags X-SVN-Rev: 12096 --- icu4j/src/com/ibm/icu/lang/UCharacter.java | 33 ++++---- .../com/ibm/icu/lang/UCharacterCategory.java | 6 +- icu4j/src/com/ibm/icu/lang/UProperty.java | 78 +++++++++---------- icu4j/src/com/ibm/icu/text/CollationKey.java | 13 +++- icu4j/src/com/ibm/icu/text/Normalizer.java | 6 +- icu4j/src/com/ibm/icu/text/UTF16.java | 26 +++---- .../com/ibm/icu/util/RangeValueIterator.java | 18 ++--- icu4j/src/com/ibm/icu/util/ValueIterator.java | 18 ++--- icu4j/src/com/ibm/icu/util/VersionInfo.java | 58 +++++++------- 9 files changed, 134 insertions(+), 122 deletions(-) diff --git a/icu4j/src/com/ibm/icu/lang/UCharacter.java b/icu4j/src/com/ibm/icu/lang/UCharacter.java index b91d510459..686a81f434 100755 --- a/icu4j/src/com/ibm/icu/lang/UCharacter.java +++ b/icu4j/src/com/ibm/icu/lang/UCharacter.java @@ -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 * } * * @return an iterator - * @draft ICU 2.1 + * @stable ICU 2.6 */ public static RangeValueIterator getTypeIterator() { @@ -3896,7 +3896,7 @@ public final class UCharacter *

The maximal range which the name iterator iterates is from * UCharacter.MIN_VALUE to UCharacter.MAX_VALUE.

* @return an iterator - * @draft ICU 2.1 + * @stable ICU 2.6 */ public static ValueIterator getNameIterator() { @@ -3924,7 +3924,7 @@ public final class UCharacter * *

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

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 *

The data is from the UCD file DerivedAge.txt.

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

Check if a code point has the Alphabetic Unicode property.

*

Same as UCharacter.hasBinaryProperty(ch, UProperty.ALPHABETIC).

*

Different from UCharacter.isLetter(ch)!

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

Same as UCharacter.hasBinaryProperty(ch, UProperty.LOWERCASE).

*

This is different from UCharacter.isLowerCase(ch)!

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

Same as UCharacter.hasBinaryProperty(ch, UProperty.UPPERCASE).

*

This is different from UCharacter.isUpperCase(ch)!

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

This is different from both UCharacter.isSpace(ch) and * UCharacter.isWhitespace(ch)!

* @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) { diff --git a/icu4j/src/com/ibm/icu/lang/UCharacterCategory.java b/icu4j/src/com/ibm/icu/lang/UCharacterCategory.java index 5865a56f7d..dfd39a5065 100755 --- a/icu4j/src/com/ibm/icu/lang/UCharacterCategory.java +++ b/icu4j/src/com/ibm/icu/lang/UCharacterCategory.java @@ -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; /** diff --git a/icu4j/src/com/ibm/icu/lang/UProperty.java b/icu4j/src/com/ibm/icu/lang/UProperty.java index 1680ae203d..6f1d61ca2f 100644 --- a/icu4j/src/com/ibm/icu/lang/UProperty.java +++ b/icu4j/src/com/ibm/icu/lang/UProperty.java @@ -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.

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

Property for UCharacter.isUAlphabetic(), different from the property * in UCharacter.isalpha().

*

Lu + Ll + Lt + Lm + Lo + Nl + Other_Alphabetic.

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

Binary property Bidi_Control.

*

Format controls which have specific functions in the Bidi Algorithm. *

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int BIDI_CONTROL = 2; /** @@ -67,13 +67,13 @@ public interface UProperty *

Characters that may change display in RTL text.

*

Property for UCharacter.isMirrored().

*

See Bidi Algorithm; UTR 9.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int BIDI_MIRRORED = 3; /** *

Binary property Dash.

*

Variations of dashes.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int DASH = 4; /** @@ -83,114 +83,114 @@ public interface UProperty *

*

Codepoints (2060..206F, FFF0..FFFB, E0000..E0FFF) + * Other_Default_Ignorable_Code_Point + (Cf + Cc + Cs - White_Space)

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int DEFAULT_IGNORABLE_CODE_POINT = 5; /** *

Binary property Deprecated (new).

*

The usage of deprecated characters is strongly discouraged.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int DEPRECATED = 6; /** *

Binary property Diacritic.

*

Characters that linguistically modify the meaning of another * character to which they apply.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int DIACRITIC = 7; /** *

Binary property Extender.

*

Extend the value or shape of a preceding alphabetic character, e.g. * length and iteration marks.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int EXTENDER = 8; /** *

Binary property Full_Composition_Exclusion.

*

CompositionExclusions.txt + Singleton Decompositions + * Non-Starter Decompositions.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int FULL_COMPOSITION_EXCLUSION = 9; /** *

Binary property Grapheme_Base (new).

*

For programmatic determination of grapheme cluster boundaries. * [0..10FFFF]-Cc-Cf-Cs-Co-Cn-Zl-Zp-Grapheme_Link-Grapheme_Extend-CGJ

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int GRAPHEME_BASE = 10; /** *

Binary property Grapheme_Extend (new).

*

For programmatic determination of grapheme cluster boundaries.

*

Me+Mn+Mc+Other_Grapheme_Extend-Grapheme_Link-CGJ

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int GRAPHEME_EXTEND = 11; /** *

Binary property Grapheme_Link (new).

*

For programmatic determination of grapheme cluster boundaries.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int GRAPHEME_LINK = 12; /** *

Binary property Hex_Digit.

*

Characters commonly used for hexadecimal numbers.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int HEX_DIGIT = 13; /** *

Binary property Hyphen.

*

Dashes used to mark connections between pieces of words, plus the * Katakana middle dot.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int HYPHEN = 14; /** *

Binary property ID_Continue.

*

Characters that can continue an identifier.

*

ID_Start+Mn+Mc+Nd+Pc

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int ID_CONTINUE = 15; /** *

Binary property ID_Start.

*

Characters that can start an identifier.

*

Lu+Ll+Lt+Lm+Lo+Nl

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int ID_START = 16; /** *

Binary property Ideographic.

*

CJKV ideographs.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int IDEOGRAPHIC = 17; /** *

Binary property IDS_Binary_Operator (new).

*

For programmatic determination of Ideographic Description Sequences. *

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int IDS_BINARY_OPERATOR = 18; /** *

Binary property IDS_Trinary_Operator (new).

* - * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int IDS_TRINARY_OPERATOR = 19; /** *

Binary property Join_Control.

*

Format controls for cursive joining and ligation.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int JOIN_CONTROL = 20; /** *

Binary property Logical_Order_Exception (new).

*

Characters that do not use logical order and require special * handling in most processing.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int LOGICAL_ORDER_EXCEPTION = 21; /** @@ -198,52 +198,52 @@ public interface UProperty *

Same as UCharacter.isULowercase(), different from * UCharacter.islower().

*

Ll+Other_Lowercase

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int LOWERCASE = 22; /**

Binary property Math.

*

Sm+Other_Math

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int MATH = 23; /** *

Binary property Noncharacter_Code_Point.

*

Code points that are explicitly defined as illegal for the encoding * of characters.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int NONCHARACTER_CODE_POINT = 24; /** *

Binary property Quotation_Mark.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int QUOTATION_MARK = 25; /** *

Binary property Radical (new).

*

For programmatic determination of Ideographic Description * Sequences.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int RADICAL = 26; /** *

Binary property Soft_Dotted (new).

*

Characters with a "soft dot", like i or j.

*

An accent placed on these characters causes the dot to disappear.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int SOFT_DOTTED = 27; /** *

Binary property Terminal_Punctuation.

*

Punctuation characters that generally mark the end of textual * units.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int TERMINAL_PUNCTUATION = 28; /** *

Binary property Unified_Ideograph (new).

*

For programmatic determination of Ideographic Description * Sequences.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int UNIFIED_IDEOGRAPH = 29; /** @@ -251,7 +251,7 @@ public interface UProperty *

Same as UCharacter.isUUppercase(), different from * UCharacter.isUpperCase().

*

Lu+Other_Uppercase

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int UPPERCASE = 30; /** @@ -259,21 +259,21 @@ public interface UProperty *

Same as UCharacter.isUWhiteSpace(), different from * UCharacter.isSpace() and UCharacter.isWhitespace().

* Space characters+TAB+CR+LF-ZWSP-ZWNBSP

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int WHITE_SPACE = 31; /** *

Binary property XID_Continue.

*

ID_Continue modified to allow closure under normalization forms * NFKC and NFKD.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int XID_CONTINUE = 32; /** *

Binary property XID_Start.

*

ID_Start modified to allow closure under normalization forms NFKC * and NFKD.

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

One more than the last constant for binary Unicode properties.

- * @draft ICU 2.1 + * @stable ICU 2.6 */ public static final int BINARY_LIMIT = 35; /** diff --git a/icu4j/src/com/ibm/icu/text/CollationKey.java b/icu4j/src/com/ibm/icu/text/CollationKey.java index ec2c82321a..ae5632d02a 100755 --- a/icu4j/src/com/ibm/icu/text/CollationKey.java +++ b/icu4j/src/com/ibm/icu/text/CollationKey.java @@ -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 --------------------------------------------------- diff --git a/icu4j/src/com/ibm/icu/text/Normalizer.java b/icu4j/src/com/ibm/icu/text/Normalizer.java index 325640ec37..bc26f1bb1c 100755 --- a/icu4j/src/com/ibm/icu/text/Normalizer.java +++ b/icu4j/src/com/ibm/icu/text/Normalizer.java @@ -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 false 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. *

* @see #setOption + * @draft ICU 2.6 */ public int getOption(int option){ if((options & option)!=0){ diff --git a/icu4j/src/com/ibm/icu/text/UTF16.java b/icu4j/src/com/ibm/icu/text/UTF16.java index 5768d1b16b..c3f8a472d3 100755 --- a/icu4j/src/com/ibm/icu/text/UTF16.java +++ b/icu4j/src/com/ibm/icu/text/UTF16.java @@ -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) { diff --git a/icu4j/src/com/ibm/icu/util/RangeValueIterator.java b/icu4j/src/com/ibm/icu/util/RangeValueIterator.java index 551c83b3bf..37b96510f8 100755 --- a/icu4j/src/com/ibm/icu/util/RangeValueIterator.java +++ b/icu4j/src/com/ibm/icu/util/RangeValueIterator.java @@ -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; * } * * @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(); } \ No newline at end of file diff --git a/icu4j/src/com/ibm/icu/util/ValueIterator.java b/icu4j/src/com/ibm/icu/util/ValueIterator.java index c09ebec820..191f6be26a 100644 --- a/icu4j/src/com/ibm/icu/util/ValueIterator.java +++ b/icu4j/src/com/ibm/icu/util/ValueIterator.java @@ -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; * } * * @author synwee - * @draft ICU 2.1 + * @stable ICU 2.6 */ public interface ValueIterator { @@ -45,7 +45,7 @@ public interface ValueIterator /** *

The return result container of each iteration. Stores the next * integer index and its associated value Object.

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

Resets the iterator to start iterating from the integer index * Integer.MIN_VALUE or X if a setRange(X, Y) has been called previously. *

- * @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); } \ No newline at end of file diff --git a/icu4j/src/com/ibm/icu/util/VersionInfo.java b/icu4j/src/com/ibm/icu/util/VersionInfo.java index 184e502d57..794b0ba788 100644 --- a/icu4j/src/com/ibm/icu/util/VersionInfo.java +++ b/icu4j/src/com/ibm/icu/util/VersionInfo.java @@ -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) {