public final class MethodUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static double |
invokeAndReturnDouble(Method method,
Object targetObj)
Invoke method and return double value.
|
static int |
invokeAndReturnInt(Method method,
Object targetObj)
Invoke method and return int value.
|
static long |
invokeAndReturnLong(Method method,
Object targetObj)
Invoke method and return long value.
|
public static double invokeAndReturnDouble(Method method, Object targetObj)
method - target methodtargetObj - the object the underlying method is invoked frompublic static long invokeAndReturnLong(Method method, Object targetObj)
method - target methodtargetObj - the object the underlying method is invoked fromCopyright © 2025. All rights reserved.