Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils
Class MethodUtils.MethodDescriptor  view MethodUtils.MethodDescriptor download MethodUtils.MethodDescriptor.java

java.lang.Object
  extended byorg.apache.commons.beanutils.MethodUtils.MethodDescriptor
Enclosing class:
MethodUtils

private static class MethodUtils.MethodDescriptor
extends java.lang.Object

Represents the key to looking up a Method by reflection.


Field Summary
private  java.lang.Class cls
           
private  boolean exact
           
private  int hashCode
           
private  java.lang.String methodName
           
private  java.lang.Class[] paramTypes
           
 
Constructor Summary
MethodUtils.MethodDescriptor(java.lang.Class cls, java.lang.String methodName, java.lang.Class[] paramTypes, boolean exact)
          The sole constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks for equality.
 int hashCode()
          Returns the string length of method name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cls

private java.lang.Class cls

methodName

private java.lang.String methodName

paramTypes

private java.lang.Class[] paramTypes

exact

private boolean exact

hashCode

private int hashCode
Constructor Detail

MethodUtils.MethodDescriptor

public MethodUtils.MethodDescriptor(java.lang.Class cls,
                                    java.lang.String methodName,
                                    java.lang.Class[] paramTypes,
                                    boolean exact)
The sole constructor.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Checks for equality.


hashCode

public int hashCode()
Returns the string length of method name. I.e. if the hashcodes are different, the objects are different. If the hashcodes are the same, need to use the equals method to determine equality.