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

后端 未结 0 1169
执念已碎
执念已碎 2021-02-15 04:03

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?

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