ICU-2025 improve @deprecated tags

X-SVN-Rev: 10342
This commit is contained in:
Alan Liu 2002-11-22 18:31:51 +00:00
parent d6a9220d93
commit acc6c8332e
2 changed files with 14 additions and 5 deletions

View File

@ -12,6 +12,7 @@
// NOTICE - Do not use
//
// This entire file has been deprecated as of ICU 2.4.
// This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
//
//////////////////////////////////////////////////////////////
@ -42,7 +43,7 @@ class UnicodeFilter;
* Unicode characters. Likewise, createAnd(g, NULL) returns g->clone(),
* and createAnd(NULL, NULL) returns NULL.
*
* @deprecated in ICU 2.4 2002-08/28. Use UnicodeSet methods instead.
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
class U_I18N_API UnicodeFilterLogic /* not : public UObject because all methods are static */ {
@ -53,6 +54,7 @@ public:
* the given filter.
* @param f may be NULL
* @result always non-NULL
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
static UnicodeFilter* createNot(const UnicodeFilter* f);
@ -64,6 +66,7 @@ public:
* @param f may be NULL
* @param g may be NULL
* @result will be NULL if and only if f == g == NULL
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
static UnicodeFilter* createAnd(const UnicodeFilter* f,
const UnicodeFilter* g);
@ -76,6 +79,7 @@ public:
* @param adoptedF may be NULL; this argument is adopted
* @param adoptedG may be NULL; this argument is adopted
* @result will be NULL if and only if f == g == NULL
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
static UnicodeFilter* createAdoptingAnd(UnicodeFilter* adoptedF,
UnicodeFilter* adoptedG);
@ -88,6 +92,7 @@ public:
* @param f may be NULL
* @param g may be NULL
* @result will be NULL if and only if f == g == NULL
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
static UnicodeFilter* createOr(const UnicodeFilter* f,
const UnicodeFilter* g);

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Attic/UnicodeFilterLogic.java,v $
* $Date: 2002/08/28 16:29:26 $
* $Revision: 1.6 $
* $Date: 2002/11/22 18:31:01 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
@ -23,8 +23,7 @@ package com.ibm.icu.text;
* intersection (<tt>and</tt>), or union (<tt>or</tt>) of the given
* filter objects.
*
* @deprecated in ICU 2.4 2002-08-28. Instead, use methods on
* UnicodeSet.
* @deprecated This will be removed after 2003-Aug-28. Use UnicodeSet methods instead.
*/
public final class UnicodeFilterLogic {
@ -45,6 +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.
*/
public static UnicodeFilter not(final UnicodeFilter f) {
return new _UF() {
@ -61,6 +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.
*/
public static UnicodeFilter and(final UnicodeFilter f,
final UnicodeFilter g) {
@ -83,6 +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.
*/
public static UnicodeFilter and(final UnicodeFilter[] f) {
return new _UF() {
@ -104,6 +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.
*/
public static UnicodeFilter or(final UnicodeFilter f,
final UnicodeFilter g) {
@ -126,6 +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.
*/
public static UnicodeFilter or(final UnicodeFilter[] f) {
return new _UF() {