code: public int getParameterAsInt(ConfigKey pConfigKey) {
          String intValueS = processingConfig.get(pConfigKey);
          if (intValueS != null) {
              return Integer.parseInt(intValueS);
          } else {
              return 0;
          }
      }
docs: Get a processing configuration as integer or null
  if not set
  
  @param pConfigKey configuration to lookup
  @return integer value of configuration or 0 if not set.