diff --git a/icu4j/src/com/ibm/icu/text/Replaceable.java b/icu4j/src/com/ibm/icu/text/Replaceable.java index ee9321053ca..1a5d1bc9e11 100755 --- a/icu4j/src/com/ibm/icu/text/Replaceable.java +++ b/icu4j/src/com/ibm/icu/text/Replaceable.java @@ -5,8 +5,8 @@ ******************************************************************************* * * $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Replaceable.java,v $ - * $Date: 2002/11/14 00:06:03 $ - * $Revision: 1.9 $ + * $Date: 2002/12/04 00:04:15 $ + * $Revision: 1.10 $ * ***************************************************************************************** */ @@ -56,12 +56,13 @@ package com.ibm.icu.text; *
Copyright © IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
- * @version $RCSfile: Replaceable.java,v $ $Revision: 1.9 $ $Date: 2002/11/14 00:06:03 $
+ * @stable
*/
public interface Replaceable {
/**
* Returns the number of 16-bit code units in the text.
* @return number of 16-bit code units in text
+ * @stable
*/
int length();
@@ -70,6 +71,7 @@ public interface Replaceable {
* @param offset an integer between 0 and length()
-1
* inclusive
* @return 16-bit code unit of text at given offset
+ * @stable
*/
char charAt(int offset);
@@ -85,6 +87,7 @@ public interface Replaceable {
* @param offset an integer between 0 and length()
-1
* inclusive
* @return 32-bit code point of text at given offset
+ * @stable
*/
int char32At(int offset);
@@ -104,6 +107,7 @@ public interface Replaceable {
* start <= limit <= length()
.
* @param dst the destination array.
* @param dstStart the start offset in the destination array.
+ * @stable
*/
void getChars(int srcStart, int srcLimit, char dst[], int dstStart);
@@ -123,6 +127,7 @@ public interface Replaceable {
* <= length().
* @param text the text to replace characters start
* to limit - 1
+ * @stable
*/
void replace(int start, int limit, String text);
@@ -145,6 +150,7 @@ public interface Replaceable {
* @param charsStart the beginning index into chars
,
* inclusive; 0 <= start <= limit
.
* @param charsLen the number of characters of chars
.
+ * @stable
*/
void replace(int start, int limit, char[] chars,
int charsStart, int charsLen);
@@ -170,6 +176,7 @@ public interface Replaceable {
* start..limit-1
will be copied to dest
.
* Implementations of this method may assume that dest <= start ||
* dest >= limit
.
+ * @stable
*/
void copy(int start, int limit, int dest);
@@ -179,7 +186,7 @@ public interface Replaceable {
* must be made so as to preserve metadata. If it does not, calls
* to the Replaceable API may be optimized to improve performance.
* @return true if this object contains metadata
- * @since ICU 2.2
+ * @draft ICU 2.2
*/
boolean hasMetaData();
}