Q&A
Q:这是重复造轮子吗?
A1:是,的理解:
A2:不是,的理解:
List<User> list = toList(//
new User(2L),
new User(5L),
new User(5L));
List<Long> resultList = CollectionsUtil.getPropertyValueList(list, "id");
LOGGER.debug(JsonUtil.format(resultList));最后更新于
这有帮助吗?
