INTERNAL - the internal API type to be mapped onto an API implementation classAPI - the interface available in the APIpublic abstract class AbstractAPIImpl<API,INTERNAL extends APIDelegate<API>> extends Object implements InternalAPIDelegator<API,INTERNAL>
Common base class for all API implementation classes.
Given an internal type that defines an APIDelegate to an API type and a concrete API implementation class
that delegates to the internal type by means of the InternalAPIDelegator interface, this class is responsible
for setting up the mapping from the API type to the internal one.
InternalAPIDelegator| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
INTERNAL |
toInternalAPI()
Returns the internal interface of this class.
|
public INTERNAL toInternalAPI()
toInternalAPI in interface InternalAPIDelegator<API,INTERNAL extends APIDelegate<API>>InternalAPIDelegator.toInternalAPI()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2017. All rights reserved.