@Beta public enum CaseStrategy extends Enum<CaseStrategy> implements UnaryOperator<String>
| Enum Constant and Description |
|---|
LOCALE_LOWER
All strings to lowercase in system locale.
|
LOCALE_UPPER
All strings to uppercase in system locale.
|
LOWER
All strings to lowercase in root locale.
|
NOP
No case sensitivity.
|
UPPER
All strings to uppercase in root locale.
|
| Modifier and Type | Method and Description |
|---|---|
static CaseStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaseStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfidentitypublic static final CaseStrategy LOCALE_LOWER
public static final CaseStrategy LOCALE_UPPER
public static final CaseStrategy LOWER
public static final CaseStrategy NOP
public static final CaseStrategy UPPER
public static CaseStrategy 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 nullpublic static CaseStrategy[] values()
for (CaseStrategy c : CaseStrategy.values()) System.out.println(c);
Copyright © 2019. All rights reserved.