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

io.virtdata.libbasics.shared.from_long.to_string.JoinTemplateAutoDocsInfo 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 JoinTemplateAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "JoinTemplate";
  }

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

  public String getClassJavadoc() {
    return "Combine the result of the specified functions together with the\n"
            + "specified delimiter and optional prefix and suffix.\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("JoinTemplate", "", 
            new LinkedHashMap() {{
              put("delimiter","java.lang.String");
              put("funcs","java.util.function.LongFunction[]...");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("JoinTemplate('--',NumberNameToString(),NumberNameToString())");
                add("create values like `one--one`, `two-two`, ...");
              }});
            }}
          ));
          add(new DocForFuncCtor("JoinTemplate", "", 
            new LinkedHashMap() {{
              put("prefix","java.lang.String");
              put("delimiter","java.lang.String");
              put("suffix","java.lang.String");
              put("funcs","java.util.function.LongFunction[]...");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("JoinTemplate('{',',','}',NumberNameToString(),LastNames())");
                add("create values like '{one,Farrel}', '{two,Haskell}', ...");
              }});
            }}
          ));
          add(new DocForFuncCtor("JoinTemplate", "", 
            new LinkedHashMap() {{
              put("iterop","java.util.function.LongUnaryOperator");
              put("prefix","java.lang.String");
              put("delimiter","java.lang.String");
              put("suffix","java.lang.String");
              put("funcs","java.util.function.LongFunction[]...");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("JoinTemplate(Add(3),'[',';',']',NumberNameToString(),NumberNameToString(),NumberNameToString())");
                add("create values like '[zero;three,six]', '[one;four,seven]', ...");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy