G
gimme_this_gimme_that
Example,
If an object implements either :
javax.portlet.RenderRequest
or
javax.servlet.http.HttpServletRequest
how can I tell which it is?
I looked at obj.getClasses() no use provides a list of subclasses.
I looked at obj.getClassName() no use because it provides the
name of the concrete class not the interface.
Thanks
If an object implements either :
javax.portlet.RenderRequest
or
javax.servlet.http.HttpServletRequest
how can I tell which it is?
I looked at obj.getClasses() no use provides a list of subclasses.
I looked at obj.getClassName() no use because it provides the
name of the concrete class not the interface.
Thanks