code: public int threads() {
          return Integer.parseInt(
              this.map.getOrDefault(
                  "threads",
                  String.valueOf(Runtime.getRuntime().availableProcessors() << 2)
              )
          );
      }
docs: Get the threads.
  @return Threads