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

io.virtdata.libbasics.shared.distributions.WeightedStringsAutoDocsInfo Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
// This file is auto-generated.
package io.virtdata.libbasics.shared.distributions;

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

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

  public String getPackageName() {
    return "io.virtdata.libbasics.shared.distributions";
  }

  public String getClassJavadoc() {
    return "";
  }

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

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

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("WeightedStrings", "Create a sampler of strings from the given CSV file. The CSV file must have plain CSV headers\n"
              + "as its first line.\n"
              + "@param valueColumn The name of the value column to be sampled\n"
              + "@param weightColumn The name of the weight column, which must be parsable as a double\n"
              + "@param filenames One or more file names which will be read in to the sampler buffer\n", 
            new LinkedHashMap() {{
              put("valueColumn","java.lang.String");
              put("weightColumn","java.lang.String");
              put("filenames","java.lang.String[]...");
            }},
            new ArrayList>() {{
            }}
          ));
        }};
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy