mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-2087 fix @ tags
X-SVN-Rev: 10444
This commit is contained in:
parent
5ec690e030
commit
f4275e2a52
2 changed files with 16 additions and 10 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/UnicodeFilter.java,v $
|
||||
* $Date: 2002/08/28 16:29:26 $
|
||||
* $Revision: 1.12 $
|
||||
* $Date: 2002/12/03 21:07:56 $
|
||||
* $Revision: 1.13 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
|
@ -18,6 +18,7 @@ package com.ibm.icu.text;
|
|||
* Currently, filters are used in conjunction with classes like {@link
|
||||
* Transliterator} to only process selected characters through a
|
||||
* transformation.
|
||||
* @stable
|
||||
*/
|
||||
public abstract class UnicodeFilter implements UnicodeMatcher {
|
||||
|
||||
|
@ -26,12 +27,14 @@ public abstract class UnicodeFilter implements UnicodeMatcher {
|
|||
* subset. In other words, if a character is <b>to be
|
||||
* filtered</b>, then <tt>contains()</tt> returns
|
||||
* <b><tt>false</tt></b>.
|
||||
* @stable
|
||||
*/
|
||||
public abstract boolean contains(int c);
|
||||
|
||||
/**
|
||||
* Default implementation of UnicodeMatcher::matches() for Unicode
|
||||
* filters. Matches a single 16-bit code unit at offset.
|
||||
* @stable
|
||||
*/
|
||||
public int matches(Replaceable text,
|
||||
int[] offset,
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Attic/UnicodeFilterLogic.java,v $
|
||||
* $Date: 2002/11/22 18:31:01 $
|
||||
* $Revision: 1.7 $
|
||||
* $Date: 2002/12/03 21:07:57 $
|
||||
* $Revision: 1.8 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
|
@ -23,7 +23,7 @@ package com.ibm.icu.text;
|
|||
* intersection (<tt>and</tt>), or union (<tt>or</tt>) of the given
|
||||
* filter objects.
|
||||
*
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public final class UnicodeFilterLogic {
|
||||
|
||||
|
@ -44,7 +44,7 @@ public final class UnicodeFilterLogic {
|
|||
/**
|
||||
* Returns a <tt>UnicodeFilter</tt> that implements the inverse of
|
||||
* the given filter.
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public static UnicodeFilter not(final UnicodeFilter f) {
|
||||
return new _UF() {
|
||||
|
@ -61,7 +61,7 @@ public final class UnicodeFilterLogic {
|
|||
* is not called, and <tt>contains()</tt> returns <tt>false</tt>.
|
||||
*
|
||||
* <p>Either <tt>f</tt> or <tt>g</tt> must be non-null.
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public static UnicodeFilter and(final UnicodeFilter f,
|
||||
final UnicodeFilter g) {
|
||||
|
@ -84,7 +84,7 @@ public final class UnicodeFilterLogic {
|
|||
* <tt>f[i].contains()</tt> is <tt>false</tt>, then
|
||||
* <tt>f[j].contains()</tt> is not called, where <tt>j > i</tt>, and
|
||||
* <tt>contains()</tt> returns <tt>false</tt>.
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public static UnicodeFilter and(final UnicodeFilter[] f) {
|
||||
return new _UF() {
|
||||
|
@ -106,7 +106,7 @@ public final class UnicodeFilterLogic {
|
|||
* not called, and <tt>contains()</tt> returns <tt>true</tt>.
|
||||
*
|
||||
* <p>Either <tt>f</tt> or <tt>g</tt> must be non-null.
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public static UnicodeFilter or(final UnicodeFilter f,
|
||||
final UnicodeFilter g) {
|
||||
|
@ -129,7 +129,7 @@ public final class UnicodeFilterLogic {
|
|||
* <tt>f[i].contains()</tt> is <tt>false</tt>, then
|
||||
* <tt>f[j].contains()</tt> is not called, where <tt>j > i</tt>, and
|
||||
* <tt>contains()</tt> returns <tt>true</tt>.
|
||||
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
* @deprecated ICU 2.4 This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
|
||||
*/
|
||||
public static UnicodeFilter or(final UnicodeFilter[] f) {
|
||||
return new _UF() {
|
||||
|
@ -143,4 +143,7 @@ public final class UnicodeFilterLogic {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Disable instantiation and make CheckTags happy
|
||||
private UnicodeFilterLogic() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue