public class StringComparator.LocaleRules extends Object
Constructor and Description |
---|
LocaleRules()
Default constructor without parameters
|
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 LocaleRules()
public 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.