Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

new ArrayList 不起作用?

operation.setParameters(params);

在调用这段代码之前,我给params = new ArrayList<>(); 但是debug的时候发现set进去的对象id都是同一个?
直接

operation.setParameters(new ArrayList<>());

好像也这样?

https://github.com/tminglei/b... SharingHolder.operation 方法


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

其他代码贴一下


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...