Package net.sf.mzmine.parameters

Examples of net.sf.mzmine.parameters.Parameter


  public String toString() {

    StringBuilder s = new StringBuilder();
    for (int i = 0; i < parameters.length; i++) {

      Parameter param = parameters[i];
      Object value = param.getValue();

      if (value == null)
        continue;

      s.append(param.getName());
      s.append(": ");
      if (value.getClass().isArray()) {
        s.append(Arrays.toString((Object[]) value));
      } else {
        s.append(value.toString());
View Full Code Here


   * Make a deep copy
   */
  public ParameterSet cloneParameter() {

    // Make a deep copy of the parameters
    Parameter newParameters[] = new Parameter[parameters.length];
    for (int i = 0; i < parameters.length; i++) {
      newParameters[i] = parameters[i].cloneParameter();
    }

    try {
View Full Code Here

TOP

Related Classes of net.sf.mzmine.parameters.Parameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.