@Status(stage=PRODUCTION) @Review(by="Kees Schotanus", at="2009-09-28") public enum Case extends Enum<Case>
Enum Constant and Description |
---|
LOWER
Lower case.
|
UPPER
Upper case.
|
Modifier and Type | Method and Description |
---|---|
static Case |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Case[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Case UPPER
public static final Case LOWER
public static Case[] values()
for (Case c : Case.values()) System.out.println(c);
public static Case 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 © 2008–2018. All rights reserved.