From 940031d0749cd90e98a2139505c49c0936b60cb5 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Thu, 29 Nov 2012 00:33:41 +0000 Subject: [PATCH] ICU-9758 deprecate RuleBasedCollator::getMaxExpansion() X-SVN-Rev: 32904 --- icu4c/source/i18n/unicode/tblcoll.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/icu4c/source/i18n/unicode/tblcoll.h b/icu4c/source/i18n/unicode/tblcoll.h index 235a3b2018a..d2fb7723eab 100644 --- a/icu4c/source/i18n/unicode/tblcoll.h +++ b/icu4c/source/i18n/unicode/tblcoll.h @@ -395,14 +395,20 @@ public: virtual void getVersion(UVersionInfo info) const; /** - * Return the maximum length of any expansion sequences that end with the + * Returns the maximum length of any expansion sequences that end with the * specified comparison order. - * @param order a collation order returned by previous or next. + * + * This is specific to the kind of collation element values and sequences + * returned by the CollationElementIterator. + * Call CollationElementIterator::getMaxExpansion() instead. + * + * @param order a collation order returned by CollationElementIterator::previous + * or CollationElementIterator::next. * @return maximum size of the expansion sequences ending with the collation - * element or 1 if collation element does not occur at the end of + * element, or 1 if the collation element does not occur at the end of * any expansion sequence * @see CollationElementIterator#getMaxExpansion - * @stable ICU 2.0 + * @deprecated ICU 51 Use CollationElementIterator::getMaxExpansion() instead. */ int32_t getMaxExpansion(int32_t order) const;