提取对象数组里面的某个字段 List<String> lastTask = lastTasks.stream() .map(HistoricActivityInstance::getActivityId) .limit(1) .collect(Collectors.toList()); 对象数组排序 notEmptyList.sort(Comparator.comparing(StationQueryVO::getCurrentValue).reversed()); base64 private static final org.apache.commons.codec.binary.Base64 base64 = new org.apache.commons.codec.binary.Base64();
标签:binary,常用,知识,java,base64,Base64,codec,apache,org From: https://www.cnblogs.com/james-roger/p/17653295.html