Home
Sign Up
Sign In
V2EX
›
问与答
请问 JDK 的集合工具方法有没有快速把 int[] 转 List<Integer> 的❓
Newyorkcity
·
Apr 19, 2020
· 1715 views
This topic created in 2417 days ago, the information mentioned may be changed or developed.
谢谢!
jdk
integer
int
List
3 replies
•
2020-04-19 17:09:41 +08:00
Yuicon
Apr 19, 2020
1
这自己写写也就几分钟吧
sheeta
Apr 19, 2020 via Android
2
Arrays.asList() ?
leighton
Apr 19, 2020
3
3
Arrays.stream
(arr).boxed().collect(Collectors.toList())
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
3045 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 88ms ·
UTC 05:23
·
PVG 13:23
·
LAX 21:23
·
JFK 00:23
♥ Do have faith in what you're doing.
❯