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

io.virtdata.libbasics.shared.from_long.to_string.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.from_long.to_string;

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.from_long.to_string";
  }

  public String getClassJavadoc() {
    return "Allows for weighted elements to be used, such as\n"
            + "a:0.25;b:0.25;c:0.5 or a:1;b:1.0;c:2.0\n"
            + "The unit weights are normalized to the cumulative sum\n"
            + "internally, so it is not necessary for them\n"
            + "to add up to any particular value.\n";
  }

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

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

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("WeightedStrings", "", 
            new LinkedHashMap() {{
              put("valuesAndWeights","java.lang.String");
            }},
            new ArrayList>() {{
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy