Package cool.scx.config
Class ScxFeatureConfig
java.lang.Object
cool.scx.config.ScxFeatureConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(ScxFeature<T> scxFeature) 获取特性的值 如果没有显式设置 则返回默认值<T> ScxFeatureConfigremove(ScxFeature<T> scxFeature) <T> ScxFeatureConfigset(ScxFeature<T> scxFeature, T state)
-
Constructor Details
-
ScxFeatureConfig
public ScxFeatureConfig()
-
-
Method Details
-
set
-
remove
-
get
获取特性的值 如果没有显式设置 则返回默认值- Type Parameters:
T- a T class- Parameters:
scxFeature- s- Returns:
- s
-