java - Generic abstract class extending generic class -
it's i'm not using correct terminology here, please excuse me in case.
i have class:
public class handleartist extends artistdao that handles database changes artist entity/type. there many similar classes same structure:
handlealbum extends albumdao,albumentity/typehandletrack extends trackdao,trackentity/type- etc.
all "handle"-classes have (or should @ least have) same methods. in order make sure have same methods , structure, thought making abstract base class extend "handle"-classes to, idea.
so tried make abstract class like:
public abstract class handler<t1> extends <t2> which didn't work. there way this?
Comments
Post a Comment