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

io.virtdata.basicsmappers.from_long.to_string.TemplateAutoDocsInfo Maven / Gradle / Ivy

// This file is auto-generated.
package io.virtdata.basicsmappers.from_long.to_string;

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

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

  public String getPackageName() {
    return "io.virtdata.basicsmappers.from_long.to_string";
  }

  public String getClassJavadoc() {
    return "Creates a template function which will yield a string which fits the template\n"
            + "provided, with all occurrences of 
{}
substituted pair-wise with the\n" + "result of the provided functions. The number of
{}
entries in the template\n" + "must strictly match the number of functions or an error will be thrown.\n" + "\n" + "To provide differing values for similarly defined functions in the list, the input\n" + "value used is automatically incremented by one for each function, starting with\n" + "the initial input 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("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.LongFunction[]..."); }}, new ArrayList>() {{ add(new ArrayList() {{ add("Template('{}-{}',Add(10),Hash())"); add("concatenate input+10, '-', and a pseudo-random long"); }}); }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.Function[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.LongUnaryOperator[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.IntUnaryOperator[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.DoubleUnaryOperator[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.LongToDoubleFunction[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "", new LinkedHashMap() {{ put("template","java.lang.String"); put("funcs","java.util.function.LongToIntFunction[]..."); }}, new ArrayList>() {{ }} )); add(new DocForFuncCtor("Template", "If an operator is provided, it is used to change the function input value in an additional way before each function.\n" + "\n" + "@param iterOp A pre-generation value mapping function\n" + "@param template A string template containing
{}
anchors\n" + "@param funcs A varargs length of LongFunctions of any output type\n", new LinkedHashMap() {{ put("iterOp","java.util.function.LongUnaryOperator"); put("template","java.lang.String"); put("funcs","java.util.function.LongFunction[]..."); }}, new ArrayList>() {{ }} )); }}; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy