程序包 cool.scx.config
类 ScxFeatureConfig
java.lang.Object
cool.scx.config.ScxFeatureConfig
a
- 版本:
- 0.0.1
- 作者:
- scx567888
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T> Tget(ScxFeature<T> scxFeature) 获取特性的值 如果没有显式设置 则返回默认值<T> ScxFeatureConfigremove(ScxFeature<T> scxFeature) a<T> ScxFeatureConfigset(ScxFeature<T> scxFeature, T state) 设置值
-
构造器详细资料
-
ScxFeatureConfig
public ScxFeatureConfig()
-
-
方法详细资料
-
set
设置值- 类型参数:
T- a T class- 参数:
scxFeature- sstate- s- 返回:
- a
-
remove
a- 类型参数:
T- a- 参数:
scxFeature- a- 返回:
- a
-
get
获取特性的值 如果没有显式设置 则返回默认值- 类型参数:
T- a T class- 参数:
scxFeature- s- 返回:
- s
-