| 程序包 | 说明 |
|---|---|
| org.noear.snack.core |
| 限定符和类型 | 方法和说明 |
|---|---|
static Feature |
Feature.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Feature[] |
Feature.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Constants |
Constants.add(Feature... features) |
static int |
Feature.config(int features,
Feature feature,
boolean enable)
特性配置:开启或禁用
|
boolean |
Constants.hasFeature(Feature feature)
检查是否有特性
|
static boolean |
Feature.isEnabled(int features,
Feature feature)
特性启用情况
|
static Constants |
Constants.of(Feature... features) |
static int |
Feature.of(Feature... features)
特性合并生成
|
Constants |
Constants.sub(Feature... features) |
Copyright © 2019. All rights reserved.