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.IDENTICAL
public static final SortStrength PRIMARY
Collator.PRIMARY
public static final SortStrength SECONDARY
Collator.SECONDARY
public static final SortStrength TERTIARY
Collator.TERTIARY
public 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-2016 The Apache Software Foundation. All Rights Reserved.