What is the fastest way to fill an ArrayList with null in java?

前端 未结 0 576
离开以前
离开以前 2021-02-09 06:55

I want a List of n Sets of Integers and initially this list should be filled with null, with n <= 100 000. A lot of the Sets will be initialised later, and some will remain n

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