public class HashCodeNonDataOperationHandler extends Object implements NonDataOperationHandler
Object.hashCode() method.| Constructor and Description |
|---|
HashCodeNonDataOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(Object proxy,
Method method,
Object... args)
Used to find out if the given invocation on the indicated proxy object can be handled by this
handler.
|
Object |
invoke(Object proxy,
Method method,
Object... args)
Used to handle the invocation.
|
public boolean handles(Object proxy, Method method, Object... args)
NonDataOperationHandlerhandles in interface NonDataOperationHandlerproxy - the proxymethod - the methodargs - the arguments passed to the methodpublic Object invoke(Object proxy, Method method, Object... args)
NonDataOperationHandlerNonDataOperationHandler.handles(Object, Method, Object...)) that the handler can
indeed handle this method invocation.invoke in interface NonDataOperationHandlerproxy - the proxy objectmethod - the method being calledargs - the argumentsCopyright © 2014–2021. All rights reserved.