io.nosqlbench.virtdata.library.basics.shared.formatting.DecimalFormatAutoDocsInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-curves4 Show documentation
Show all versions of virtdata-lib-curves4 Show documentation
Statistical sampling library for use in virtdata libraries, based
on apache commons math 4
// 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");
}});
}}
));
}};
}
}