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

io.nosqlbench.virtdata.library.basics.shared.formatting.DecimalFormatAutoDocsInfo Maven / Gradle / Ivy

Go to download

Statistical sampling library for use in virtdata libraries, based on apache commons math 4

There is a newer version: 5.17.0
Show newest version
// This file is auto-generated.
package io.nosqlbench.virtdata.library.basics.shared.formatting;

import io.nosqlbench.nb.api.annotations.Service;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.processors.DocCtorData;
import io.nosqlbench.virtdata.api.processors.DocForFuncCtor;
import io.nosqlbench.virtdata.api.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

@Service(DocFuncData.class)
public class DecimalFormatAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "DecimalFormat";
  }

  public String getPackageName() {
    return "io.nosqlbench.virtdata.library.basics.shared.formatting";
  }

  public String getClassJavadoc() {
    return "Formats a floating point value to a string using the java.text.DecimalFormat\n";
  }

  public String getInType() {
    return "double";
  }

  public String getOutType() {
    return "java.lang.String";
  }

  public Category[] getCategories() {
    return new Category[] {  };
  }

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("DecimalFormat", "", 
            new LinkedHashMap() {{
              put("format","java.lang.String");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("DecimalFormat('.##')");
                add("converts a double value to a string with only two digits after the decimal");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy