Interface IPeakFinderParameter
public interface IPeakFinderParameter
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of the parametergetValue()Get value of the parameterbooleanisInt()Get the boolean indicating whether this should be an integer parameter or notvoidSet 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
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)
-