Java中把对象转换为List类型

   就一个元素,直接Arrays.asList(resourceInfo) ,或者Collections.singletonList

猜你喜欢

转载自blog.csdn.net/iXinRu/article/details/85002682