public static enum Util.API_VERSION extends Enum<Util.API_VERSION>
| Modifier and Type | Method and Description |
|---|---|
static Util.API_VERSION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Util.API_VERSION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.API_VERSION v1
public static final Util.API_VERSION v2
public static Util.API_VERSION[] values()
for (Util.API_VERSION c : Util.API_VERSION.values()) System.out.println(c);
public static Util.API_VERSION 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 © 2016–2023. All rights reserved.