public class StringComparator.LocaleRules extends Object
Constructor and Description |
---|
StringComparator.LocaleRules()
Default constructor without parameters
|
StringComparator.LocaleRules(boolean b,
Collator collator)
Default constructor with two parameters
|
Modifier and Type | Method and Description |
---|---|
Collator |
getCollator()
Gets the value of the inner attribute _collator
|
boolean |
isUseLocaleRules()
Gets the value of the inner attribute useLocaleRules
|
void |
setCollator(Collator collator)
Sets a value to the inner attribute _collator
|
void |
setUseLocaleRules(boolean useLocaleRules)
Sets a value to the inner attribute useLocaleRules
|
public StringComparator.LocaleRules()
public StringComparator.LocaleRules(boolean b, Collator collator)
b
- Use locale rulescollator
- A reference to an object configurated for locale-sensitive String comparisonpublic Collator getCollator()
public void setCollator(Collator collator)
collator
- A reference to an object configurated for locale-sensitive String comparisonpublic boolean isUseLocaleRules()
public void setUseLocaleRules(boolean useLocaleRules)
useLocaleRules
- The useLocaleRules to set.