public static enum StatFilter.Feature extends Enum<StatFilter.Feature>
限定符和类型 | 方法和说明 |
---|---|
static int |
config(int features,
StatFilter.Feature feature,
boolean state) |
int |
getMask() |
static boolean |
isEnabled(int features,
StatFilter.Feature feature) |
static StatFilter.Feature |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StatFilter.Feature[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static StatFilter.Feature[] values()
for (StatFilter.Feature c : StatFilter.Feature.values()) System.out.println(c);
public static StatFilter.Feature valueOf(String name)
name
- 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException如果参数为空值,
- 则抛出 NullPointerExceptionpublic final int getMask()
public static boolean isEnabled(int features, StatFilter.Feature feature)
public static int config(int features, StatFilter.Feature feature, boolean state)
Copyright © 2012 Alibaba Group. All Rights Reserved.