就一个元素,直接Arrays.asList(resourceInfo) ,或者Collections.singletonList
Java中把对象转换为List类型
猜你喜欢
转载自blog.csdn.net/iXinRu/article/details/85002682
今日推荐
周排行