What is a Java example of the “private constructor capture” idiom?

后端 未结 0 1374
攒了一身酷
攒了一身酷 2021-02-15 03:49

Can some one explain to me the private constructor capture idiom with an example and point out where we actually need / do not need this kind of design?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题