Uses of Class
com.gengoai.ParameterDef
-
Packages that use ParameterDef Package Description com.gengoai A set of utilities, frameworks, and tools to speed up and ease programming in Java. -
-
Uses of ParameterDef in com.gengoai
Fields in com.gengoai declared as ParameterDef Modifier and Type Field Description ParameterDef<T>
ParamMap.Parameter. param
The Parameter definition.Methods in com.gengoai that return ParameterDef Modifier and Type Method Description static ParameterDef<Boolean>
ParameterDef. boolParam(String name)
Creates a boolean paramstatic ParameterDef<Double>
ParameterDef. doubleParam(String name)
Creates a Double param param.static ParameterDef<Float>
ParameterDef. floatParam(String name)
Creates a Float param param.<T> ParameterDef<T>
ParamMap. getParam(String name)
Gets theParameterDef
with the given name in the map.static ParameterDef<Integer>
ParameterDef. intParam(String name)
Creates a Int param param.static ParameterDef<Long>
ParameterDef. longParam(String name)
Creates a Long param param.static <T> ParameterDef<T>
ParameterDef. param(String name, @NonNull Class<T> type)
Param parameter def.static <T> ParameterDef<T>
ParameterDef. param(String name, @NonNull Type type)
Param parameter def.static ParameterDef<String>
ParameterDef. strParam(String name)
Creates a String param param.Methods in com.gengoai with parameters of type ParameterDef Modifier and Type Method Description <T> T
ParamMap. get(@NonNull ParameterDef<T> param)
Gets the value of the givenParameterDef
<T> T
ParamMap. getOrDefault(@NonNull ParameterDef<T> param, T defaultValue)
Gets the value of the givenParameterDef
or the default value if the Param is not in the map<T> ParamMap.Parameter<T>
ParamMap. parameter(@NonNull ParameterDef<T> param, T defValue)
Creates aParamMap.Parameter
of the givenParameterDef
with the given default value registering it with thisParamMap
and returning the created Parameter.<T> V
ParamMap. set(@NonNull ParameterDef<T> param, T value)
Sets the value for the given parameter
-