com.fasterxml.classmate.util
Class MethodKey

java.lang.Object
  extended by com.fasterxml.classmate.util.MethodKey

public class MethodKey
extends Object

Helper class needed when storing methods in maps; must


Constructor Summary
MethodKey(String name)
           
MethodKey(String name, Class<?>[] argTypes)
           
 
Method Summary
 boolean equals(Object o)
          Equality means name is the same and argument type erasures as well.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodKey

public MethodKey(String name)

MethodKey

public MethodKey(String name,
                 Class<?>[] argTypes)
Method Detail

equals

public boolean equals(Object o)
Equality means name is the same and argument type erasures as well.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 fasterxml.com. All Rights Reserved.