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

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

There is a newer version: 2.12.15
Show newest version
// 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 MapTemplateAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "MapTemplate";
  }

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

  public String getClassJavadoc() {
    return "Construct a {@code Map} from a set of input functions\n"
            + "which determine the size of the map, the value of each key, and\n"
            + "the value for that key. In between calling the key and value functions,\n"
            + "the input value is incremented.\n";
  }

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

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

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("MapTemplate", "", 
            new LinkedHashMap() {{
              put("sizeFunc","java.util.function.LongToIntFunction");
              put("keyFunc","java.util.function.LongFunction");
              put("valueFunc","java.util.function.LongFunction");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("MapTemplate(HashRange(3-7),NumberNameToString(),LastNames())");
                add("create maps between 3 and 7 values big, with number names as the keys, and last names as the values");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy