Package org.proxy4j.core.util
Class MethodHashKey
- java.lang.Object
-
- org.proxy4j.core.util.Key
-
- org.proxy4j.core.util.MethodHashKey
-
public final class MethodHashKey extends Key
A method hash key.- Author:
- Brennan Spies
-
-
Constructor Summary
Constructors Constructor Description MethodHashKey(ClassLoader loader, Method[] methods)Keysubclass where individual proxied methods are used to lookup the proxy class.MethodHashKey(ClassLoader loader, Collection<Method> methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)EveryKeysubclass must define its ownObject.equals(Object)method.inthashCode()EveryKeysubclass must define its ownObject.hashCode()method.-
Methods inherited from class org.proxy4j.core.util.Key
getClassLoader
-
-
-
-
Constructor Detail
-
MethodHashKey
public MethodHashKey(ClassLoader loader, Method[] methods)
Keysubclass where individual proxied methods are used to lookup the proxy class.- Parameters:
loader- The class loadermethods- The proxied methods
-
MethodHashKey
public MethodHashKey(ClassLoader loader, Collection<Method> methods)
-
-
Method Detail
-
equals
public boolean equals(Object o)
Description copied from class:KeyEveryKeysubclass must define its ownObject.equals(Object)method.
-
hashCode
public int hashCode()
Description copied from class:KeyEveryKeysubclass must define its ownObject.hashCode()method.
-
-