code: @Override
      public boolean canParse(final String threshold) {
          return threshold != null && (threshold.startsWith("inf") || threshold.startsWith("+inf"));
      }
docs: Method canParse.
  @param threshold String
  @return boolean