public enum App extends Enum<App>
Enum Constant and Description |
---|
BRAVE |
CHROME |
EDGE |
FIREFOX |
OPERA |
SAFARI |
Modifier and Type | Method and Description |
---|---|
static App |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static App[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final App CHROME
public static final App FIREFOX
public static final App EDGE
public static final App SAFARI
public static final App BRAVE
public static final App OPERA
public static App[] values()
for (App c : App.values()) System.out.println(c);
public static App 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 © 2024. All rights reserved.