Collator.setStrength

Collator.setStrength

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized void setStrength( int newStrength )
Parameters
the
new strength value.
Description
Sets this Collator's strength property. The strength property determines the minimum level of difference considered significant during comparison. See the Collator class description for an example of use.

Exceptions
IllegalArgumentException If the new strength value is not one of PRIMARY, SECONDARY, TERTIARY or IDENTICAL.
See Also
getStrength, PRIMARY, SECONDARY, TERTIARY, IDENTICAL