public static enum Api.Version extends Enum<Api.Version>
| Modifier and Type | Method and Description |
|---|---|
String |
prefix() |
static Api.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Api.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Api.Version V0
public static final Api.Version V1
public static final Api.Version V2
public static Api.Version[] values()
for (Api.Version c : Api.Version.values()) System.out.println(c);
public static 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 nullpublic String prefix()
Copyright © 2017. All rights reserved.