io.virtdata.libbasics.shared.unary_int.LoadAutoDocsInfo 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.libbasics.shared.unary_int;
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 LoadAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "Load";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.unary_int";
}
public String getClassJavadoc() {
return "";
}
public String getInType() {
return "int";
}
public String getOutType() {
return "int";
}
public Category[] getCategories() {
return new Category[] { Category.state };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("Load", "",
new LinkedHashMap() {{
put("name","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Load('foo')");
add("for the current thread, load an int value from the named variable");
}});
}}
));
add(new DocForFuncCtor("Load", "",
new LinkedHashMap() {{
put("name","java.lang.String");
put("defaultValue","int");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Load('foo',42)");
add("for the current thread, load an int value from the named variable, or return the default value if it is undefined.");
}});
}}
));
add(new DocForFuncCtor("Load", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Load(NumberNameToString())");
add("for the current thread, load an int value from the named variable, where the variable name is provided by a function.");
}});
}}
));
add(new DocForFuncCtor("Load", "",
new LinkedHashMap() {{
put("nameFunc","java.util.function.Function");
put("defaultValue","int");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Load(NumberNameToString(),42)");
add("for the current thread, load an int value from the named variable, where the variable name is provided by a function, or the default value if the named variable is undefined.");
}});
}}
));
}};
}
}