类 MethodUtil
java.lang.Object
org.dromara.dynamictp.common.util.MethodUtil
MethodUtil related.
- 从以下版本开始:
- 1.1.5
- 作者:
- yanhom
-
方法概要
修饰符和类型方法说明static doubleinvokeAndReturnDouble(Method method, Object targetObj) Invoke method and return double value.static longinvokeAndReturnLong(Method method, Object targetObj) Invoke method and return long value.
-
方法详细资料
-
invokeAndReturnDouble
Invoke method and return double value.- 参数:
method- target methodtargetObj- the object the underlying method is invoked from- 返回:
- result
-
invokeAndReturnLong
Invoke method and return long value.- 参数:
method- target methodtargetObj- the object the underlying method is invoked from- 返回:
- result
-