io.virtdata.libbasics.shared.from_long.to_long.ClampAutoDocsInfo 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.from_long.to_long;
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 ClampAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "Clamp";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.from_long.to_long";
}
public String getClassJavadoc() {
return "Clamp the output values to be at least the minimum value and\n"
+ "at most the maximum value.\n";
}
public String getInType() {
return "long";
}
public String getOutType() {
return "long";
}
public Category[] getCategories() {
return new Category[] { };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("Clamp", "",
new LinkedHashMap() {{
put("min","long");
put("max","long");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("Clamp(4L,400L)");
add("clamp the output values in the range [4L,400L], inclusive");
}});
}}
));
}};
}
}