public boolean setParameterString(String paramString)
  {
    try
    {
      int i = Integer.parseInt(paramString);
      if (i < 1) {
        return false;
      }

      setTimes(i);
      this.random = false;
      return true;
    }
    catch (NumberFormatException localNumberFormatException1)
    {
      try
      {
        StringTokenizer localStringTokenizer = new StringTokenizer(paramString, "-", false);
        int j = 0;
        int[] arrayOfInt = new int[2];
        while (localStringTokenizer.hasMoreTokens())
        {
          arrayOfInt[j] = Integer.parseInt(localStringTokenizer.nextToken());

          if (arrayOfInt[j] < 1) {
            return false;
          }
          j++;
        }

        if (j != 2) {
          return false;
        }
        if (arrayOfInt[0] == arrayOfInt[1])
        {
          setTimes(arrayOfInt[0]);
          this.random = false;
          return true;
        }

        if (arrayOfInt[0] > arrayOfInt[1])
        {
          int k = arrayOfInt[0];
          arrayOfInt[0] = arrayOfInt[1];
          arrayOfInt[1] = k;
        }

        this.randomvals = arrayOfInt;
        this.random = true;
        genRandom();

        return true;
      }
      catch (NumberFormatException localNumberFormatException2)
      {
        return false;
      }
      catch (ArrayIndexOutOfBoundsException localArrayIndexOutOfBoundsException) {
      }
    }
    return false;
  }