Package org.hcjf.utils
Class MathIntrospection
- java.lang.Object
-
- org.hcjf.utils.MathIntrospection
-
public class MathIntrospection extends java.lang.ObjectThis class contains the default filters and invokers to create the static introspection ofMathclass- Author:
- javaito.
-
-
Constructor Summary
Constructors Constructor Description MathIntrospection()
-
Method Summary
Modifier and Type Method Description static java.util.Set<java.lang.String>getMethodsSet()Returns all the methods cached fot theMathclassstatic <R> Rinvoke(java.lang.String functionName, java.lang.Object... parameter)This method invokes the specific method of theMathclass using the internal introspection cache.
-
-
-
Method Detail
-
invoke
public static <R> R invoke(java.lang.String functionName, java.lang.Object... parameter)This method invokes the specific method of theMathclass using the internal introspection cache.- Type Parameters:
R- Expected return data type.- Parameters:
functionName- Name of the math function.parameter- Function's parameters.- Returns:
- Math function result.
-
getMethodsSet
public static java.util.Set<java.lang.String> getMethodsSet()
Returns all the methods cached fot theMathclass- Returns:
- Methods set.
-
-