toArray by lamda, fixed size list or empty constructor

后端 未结 0 728
甜味超标
甜味超标 2021-02-20 03:51

I read the previous post .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])? and want to know if this is still valid with >jdk9:

version 1

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