code: @Override
      public Object[] getParameters() {
          // return the parameters as used for the rule validation
          Object[] params = new Object[2];
          if (pattern == null)
              params[0] = null;
          else {
              List<double[]> params0 = new ArrayList<double[]>();
              for (IsotopeContainer isotope : pattern.getIsotopes()) {
                  params0.add(new double[] { isotope.getMass(), isotope.getIntensity() });
              }
              params[0] = params0;
          }
          params[1] = toleranceMass;
          return params;
      }
docs: Gets the parameters attribute of the IsotopePatternRule object.
  
  @return The parameters value
  @see    #setParameters