ICU-2087 fix @ tags

X-SVN-Rev: 10464
This commit is contained in:
Alan Liu 2002-12-04 00:11:17 +00:00
parent 46f31987ec
commit eec768c3fd

View file

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/UnicodeMatcher.java,v $
* $Date: 2002/06/28 19:15:53 $
* $Revision: 1.6 $
* $Date: 2002/12/04 00:11:17 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
@ -15,6 +15,7 @@ package com.ibm.icu.text;
/**
* <code>UnicodeMatcher</code> defines a protocol for objects that can
* match a range of characters in a Replaceable string.
* @stable
*/
public interface UnicodeMatcher {
@ -23,6 +24,7 @@ public interface UnicodeMatcher {
* mismatch between the text and this matcher. The text contains
* a character which does not match, or the text does not contain
* all desired characters for a non-incremental match.
* @stable
*/
public static final int U_MISMATCH = 0;
@ -34,6 +36,7 @@ public interface UnicodeMatcher {
* complete match. Alternatively, for variable-length matchers,
* all characters of the text match, and if more characters were
* supplied at limit, they might also match.
* @stable
*/
public static final int U_PARTIAL_MATCH = 1;
@ -43,6 +46,7 @@ public interface UnicodeMatcher {
* incremental variable-length match, this value is returned if
* the given text matches, and it is known that additional
* characters would not alter the extent of the match.
* @stable
*/
public static final int U_MATCH = 2;
@ -87,6 +91,7 @@ public interface UnicodeMatcher {
* @return a match degree value indicating a full match, a partial
* match, or a mismatch. If incremental is FALSE then
* U_PARTIAL_MATCH should never be returned.
* @stable
*/
public abstract int matches(Replaceable text,
int[] offset,
@ -101,6 +106,7 @@ public interface UnicodeMatcher {
* character to their hex escape representations, \\uxxxx or
* \\Uxxxxxxxx. Unprintable characters are those other than
* U+000A, U+0020..U+007E.
* @stable
*/
public abstract String toPattern(boolean escapeUnprintable);
@ -113,6 +119,7 @@ public interface UnicodeMatcher {
* <p>Note: This API uses an int even though the value will be
* restricted to 8 bits in order to avoid complications with
* signedness (bytes convert to ints in the range -128..127).
* @stable
*/
public abstract boolean matchesIndexValue(int v);
@ -120,6 +127,7 @@ public interface UnicodeMatcher {
* Union the set of all characters that may be matched by this object
* into the given set.
* @param toUnionTo the set into which to union the source characters
* @draft ICU 2.2
*/
public abstract void addMatchSetTo(UnicodeSet toUnionTo);
}