ICU-9758 deprecate RuleBasedCollator::getMaxExpansion()

X-SVN-Rev: 32904
This commit is contained in:
Markus Scherer 2012-11-29 00:33:41 +00:00
parent b365ec5423
commit 940031d074

View 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;