类 SimpleMethodInvoker

  • 所有已实现的接口:
    MethodInvoker

    public class SimpleMethodInvoker
    extends java.lang.Object
    implements MethodInvoker
    Simple implementation of the MethodInvoker interface that invokes a method on an object. If the method has no arguments, but arguments are provided, they are ignored and the method is invoked anyway. If there are more arguments than there are provided, then an exception is thrown.
    从以下版本开始:
    2.0
    作者:
    Lucas Ward
    • 构造器概要

      构造器 
      构造器说明
      SimpleMethodInvoker​(java.lang.Object object, java.lang.reflect.Method method) 
      SimpleMethodInvoker​(java.lang.Object object, java.lang.String methodName, java.lang.Class<?>... paramTypes) 
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      booleanequals​(java.lang.Object obj) 
      inthashCode() 
      java.lang.ObjectinvokeMethod​(java.lang.Object... args) 
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SimpleMethodInvoker

        public SimpleMethodInvoker​(java.lang.Object object,
                                   java.lang.reflect.Method method)
      • SimpleMethodInvoker

        public SimpleMethodInvoker​(java.lang.Object object,
                                   java.lang.String methodName,
                                   java.lang.Class<?>... paramTypes)
    • 方法详细资料

      • equals

        public boolean equals​(java.lang.Object obj)
        覆盖:
        equals 在类中 java.lang.Object
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object