Package org.proxy4j.core.util
Class ClassHashKey
- java.lang.Object
-
- org.proxy4j.core.util.Key
-
- org.proxy4j.core.util.ClassHashKey
-
-
Constructor Summary
Constructors Constructor Description ClassHashKey(ClassLoader loader, Class<?>... classes)Constructor takes the class loader of the proxy and the classes which the proxy extends or implements.ClassHashKey(ClassLoader loader, Collection<Class<?>> classes)Constructor takes the class loader of the proxy and the classes which the proxy extends or implements.
-
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
-
ClassHashKey
public ClassHashKey(ClassLoader loader, Class<?>... classes)
Constructor takes the class loader of the proxy and the classes which the proxy extends or implements.- Parameters:
loader- The classloaderclasses- The classes
-
ClassHashKey
public ClassHashKey(ClassLoader loader, Collection<Class<?>> classes)
Constructor takes the class loader of the proxy and the classes which the proxy extends or implements.- Parameters:
loader- The classloaderclasses- The classes
-
-
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.
-
-