ICU-2087 fix @ tags

X-SVN-Rev: 10463
This commit is contained in:
Alan Liu 2002-12-04 00:04:15 +00:00
parent 50279c7b54
commit 46f31987ec

View file

@ -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;
* <p>Copyright &copy; 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 <code>length()</code>-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 <code>length()</code>-1
* inclusive
* @return 32-bit code point of text at given offset
* @stable
*/
int char32At(int offset);
@ -104,6 +107,7 @@ public interface Replaceable {
* <code>start <= limit <= length()</code>.
* @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()</code>.
* @param text the text to replace characters <code>start</code>
* to <code>limit - 1</code>
* @stable
*/
void replace(int start, int limit, String text);
@ -145,6 +150,7 @@ public interface Replaceable {
* @param charsStart the beginning index into <code>chars</code>,
* inclusive; <code>0 <= start <= limit</code>.
* @param charsLen the number of characters of <code>chars</code>.
* @stable
*/
void replace(int start, int limit, char[] chars,
int charsStart, int charsLen);
@ -170,6 +176,7 @@ public interface Replaceable {
* <code>start..limit-1</code> will be copied to <code>dest</code>.
* Implementations of this method may assume that <code>dest <= start ||
* dest >= limit</code>.
* @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();
}