Interface IPeakFinderParameter


public interface IPeakFinderParameter
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the parameter
    Get value of the parameter
    boolean
    Get the boolean indicating whether this should be an integer parameter or not
    void
    Set the value of the parameter, checking whether the supplied type is consistent with the expected isInt value
  • Method Details

    • getName

      String getName()
      Get the name of the parameter
      Returns:
      String name of parameter
    • isInt

      boolean isInt()
      Get the boolean indicating whether this should be an integer parameter or not
      Returns:
      Boolean indicating if parameter is an integer
    • getValue

      Number getValue()
      Get value of the parameter
      Returns:
      Number value of the parameter
    • setValue

      void setValue(Number value)
      Set the value of the parameter, checking whether the supplied type is consistent with the expected isInt value
      Parameters:
      value - New value of the parameter
      Throws:
      IllegalArgumentException - if value is not correct type (Integer/Double)