All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.abstracta.jmeter.javadsl.codegeneration.params.FloatParam Maven / Gradle / Ivy

Go to download

Simple API to run JMeter performance tests in an VCS and programmers friendly way.

There is a newer version: 028
Show newest version
package us.abstracta.jmeter.javadsl.codegeneration.params;

/**
 * Is a parameter with a float value.
 *
 * @since 0.63
 */
public class FloatParam extends FixedParam {

  public FloatParam(String expression, Float defaultValue) {
    super(float.class, expression, Float::valueOf, defaultValue);
  }

  @Override
  public String buildCode(String indent) {
    return super.buildCode(indent) + "f";
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy