public enum SortStrength extends Enum<SortStrength>
Collator strength values.| Enum Constant and Description |
|---|
IDENTICAL |
PRIMARY |
SECONDARY |
TERTIARY |
| Modifier and Type | Method and Description |
|---|---|
int |
getStrength()
retrieves the strength, the integer strength value matches that of the
Collator |
static SortStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortStrength IDENTICAL
Collator.IDENTICALpublic static final SortStrength PRIMARY
Collator.PRIMARYpublic static final SortStrength SECONDARY
Collator.SECONDARYpublic static final SortStrength TERTIARY
Collator.TERTIARYpublic static SortStrength[] values()
for (SortStrength c : SortStrength.values()) System.out.println(c);
public static SortStrength valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.