public enum LeanService extends Enum<LeanService>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static LeanService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeanService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeanService API
public static final LeanService PUSH
public static final LeanService RTM
public static final LeanService STATS
public static final LeanService ENGINE
public static LeanService[] values()
for (LeanService c : LeanService.values()) System.out.println(c);
public static LeanService 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 toString()
toString
in class Enum<LeanService>
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.