io.virtdata.libbasics.shared.stateful.UnsetOrLoadAutoDocsInfo 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.stateful;
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 UnsetOrLoadAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "UnsetOrLoad";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.stateful";
}
public String getClassJavadoc() {
return "Reads a long variable from the input, hashes and scales it\n"
+ "to the unit interval 0.0d - 1.0d, then uses the result to determine whether\n"
+ "to return UNSET.value or a loaded value.\n";
}
public String getInType() {
return "long";
}
public String getOutType() {
return "java.lang.Object";
}
public Category[] getCategories() {
return new Category[] { Category.state,Category.nulls };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("UnsetOrLoad", "",
new LinkedHashMap() {{
put("ratio","double");
put("varname","java.lang.String");
}},
new ArrayList>() {{
}}
));
}};
}
}