程序包 cool.scx.config

类 ScxFeatureConfig

java.lang.Object
cool.scx.config.ScxFeatureConfig

public final class ScxFeatureConfig extends Object
a
版本:
0.0.1
作者:
scx567888
  • 构造器详细资料

    • ScxFeatureConfig

      public ScxFeatureConfig()
  • 方法详细资料

    • set

      public <T> ScxFeatureConfig set(ScxFeature<T> scxFeature, T state)
      设置值
      类型参数:
      T - a T class
      参数:
      scxFeature - s
      state - s
      返回:
      a
    • remove

      public <T> ScxFeatureConfig remove(ScxFeature<T> scxFeature)
      a
      类型参数:
      T - a
      参数:
      scxFeature - a
      返回:
      a
    • get

      public <T> T get(ScxFeature<T> scxFeature)
      获取特性的值 如果没有显式设置 则返回默认值
      类型参数:
      T - a T class
      参数:
      scxFeature - s
      返回:
      s