下面这个java代码是什么结构??
publicArrayList<SensorDataTableBean>queryParametersData(Contextcontext,DB_TABLE_TYPEt...
public ArrayList<SensorDataTableBean> queryParametersData(Context context,DB_TABLE_TYPE type){
ArrayList<SensorDataTableBean> sensorDataBeanArrayList = new ArrayList<SensorDataTableBean>();
SensorDataTableBean sensorDataTableBean = new SensorDataTableBean();
DbReadInitial(context); 展开
ArrayList<SensorDataTableBean> sensorDataBeanArrayList = new ArrayList<SensorDataTableBean>();
SensorDataTableBean sensorDataTableBean = new SensorDataTableBean();
DbReadInitial(context); 展开
2个回答
展开全部
你这段代码是要返回一个SensorDataTableBean泛型ArrayList的集合,有两个参数,
“ ArrayList<SensorDataTableBean> sensorDataBeanArrayList = new ArrayList<SensorDataTableBean>();
SensorDataTableBean sensorDataTableBean = new SensorDataTableBean();
”这两句代码不写也可以,上面import一下就可以了
“ ArrayList<SensorDataTableBean> sensorDataBeanArrayList = new ArrayList<SensorDataTableBean>();
SensorDataTableBean sensorDataTableBean = new SensorDataTableBean();
”这两句代码不写也可以,上面import一下就可以了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询