]> granicus.if.org Git - icu/commitdiff
ICU-9758 deprecate RuleBasedCollator::getMaxExpansion()
authorMarkus Scherer <markus.icu@gmail.com>
Thu, 29 Nov 2012 00:33:41 +0000 (00:33 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Thu, 29 Nov 2012 00:33:41 +0000 (00:33 +0000)
X-SVN-Rev: 32904

icu4c/source/i18n/unicode/tblcoll.h

index 235a3b2018a4e292e9fe9cad4257480cf5f4209e..d2fb7723eab93980baaf8391304cd48fa4d35dee 100644 (file)
@@ -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;