io.virtdata.basicsmappers.from_long.to_string.MapTemplateAutoDocsInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
// 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 - 2025 Weber Informatics LLC | Privacy Policy