public enum CasePreference extends Enum<CasePreference>
Enum Constant and Description |
---|
BOTH
Suggest both uppercase and lowercase completions
|
LOWER
In case both uppercase and lowercase are supported by the grammar, suggest only lowercase alternative
|
UPPER
In case both uppercase and lowercase are supported by the grammar, suggest only uppercase alternative
|
Modifier and Type | Method and Description |
---|---|
static CasePreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CasePreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CasePreference BOTH
public static final CasePreference LOWER
public static final CasePreference UPPER
public static CasePreference[] values()
for (CasePreference c : CasePreference.values()) System.out.println(c);
public static CasePreference 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 © 2020. All rights reserved.