类 QConfig.Builder

  • 封闭类:
    QConfig

    public static class QConfig.Builder
    extends java.lang.Object
    The type Builder.
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • setType

        public QConfig.Builder setType​(QType type)
        Q类型,默认动态
        参数:
        type - the type
        返回:
        type type
      • setInit

        public QConfig.Builder setInit​(int init)
        初始Q值(默认:5)
        参数:
        init - the init
        返回:
        init init
      • setMax

        public QConfig.Builder setMax​(int max)
        最大Q值(默认:9)
        参数:
        max - the max
        返回:
        max max
      • setMin

        public QConfig.Builder setMin​(int min)
        最小Q值(默认:0)
        参数:
        min - the min
        返回:
        min min
      • build

        public QConfig build()
        Build q config.
        返回:
        the q config