泛型用在类和方法上的写法

若是是用在 类上public abstract class AbstractBatchBaseDao<T>把 <T> 加在 类名上, 说明 后面 就定义了要用这个类型 好比它的子类像 public class BatchAgentProfitDaoImpl extends AbstractBatchBaseDao<AgentProfitRecord>{...}好比在 AbstractBatchB
相关文章
相关标签/搜索