docs: @Override
      public void setParameter(Map<String, String> paraMap) {
          if (paraMap.containsKey("k")) {
              this.k = Integer.parseInt(paraMap.get("k"));
          }
          if (paraMap.containsKey("mode")) {
              this.mode = Integer.parseInt(paraMap.get("mode"));
          }
      }