java.io.Serializable
, java.lang.Comparable<UnicodeSet.ComparisonStyle>
public static enum UnicodeSet.ComparisonStyle extends java.lang.Enum<UnicodeSet.ComparisonStyle>
UnicodeSet.compareTo(UnicodeSet, ComparisonStyle)
.Enum Constant | Description |
---|---|
LEXICOGRAPHIC |
|
LONGER_FIRST |
|
SHORTER_FIRST |
Modifier and Type | Method | Description |
---|---|---|
static UnicodeSet.ComparisonStyle |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static UnicodeSet.ComparisonStyle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnicodeSet.ComparisonStyle SHORTER_FIRST
public static final UnicodeSet.ComparisonStyle LEXICOGRAPHIC
public static final UnicodeSet.ComparisonStyle LONGER_FIRST
public static UnicodeSet.ComparisonStyle[] values()
for (UnicodeSet.ComparisonStyle c : UnicodeSet.ComparisonStyle.values()) System.out.println(c);
public static UnicodeSet.ComparisonStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.