凡事都在事上磨,这样才能精进,成长进步提高! ------ 博客园首页
摘要: public static <K,V> HashMap<V,K> reverse(Map<K,V> map) { return map.entrySet().stream().collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKe 阅读全文
posted @ 2023-12-11 11:42 追风fc 阅读(30) 评论(0) 推荐(0)