类 MethodUtil

java.lang.Object
org.dromara.dynamictp.common.util.MethodUtil

public final class MethodUtil extends Object
MethodUtil related.
从以下版本开始:
1.1.5
作者:
yanhom
  • 方法详细资料

    • invokeAndReturnDouble

      public static double invokeAndReturnDouble(Method method, Object targetObj)
      Invoke method and return double value.
      参数:
      method - target method
      targetObj - the object the underlying method is invoked from
      返回:
      result
    • invokeAndReturnLong

      public static long invokeAndReturnLong(Method method, Object targetObj)
      Invoke method and return long value.
      参数:
      method - target method
      targetObj - the object the underlying method is invoked from
      返回:
      result