![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java8常用操作
无中生友
这个作者很懒,什么都没留下…
展开
-
java8中日期时间的格式化与解析
public static void main(String[] args) { LocalDateTime now = LocalDateTime.now(); String s1 = now.format(DateTimeFormatter.ISO_DATE); String s2 = now.format(DateTimeFormatter.ISO_DATE_TIME); String s3 = now.format(DateTimeFormatter.ofLocal原创 2020-10-21 17:55:31 · 563 阅读 · 0 评论 -
java8,7 list多条件排序
static class Person { private String name; private Integer age; public Person() { } public Person(String name, Integer age) { this.name = name; this.age = age; } @Override原创 2020-07-29 09:57:09 · 1833 阅读 · 0 评论 -
java8 一些常用操作
1.Java8-如何将List转变为逗号分隔的字符串List<String> cities = Arrays.asList("Milan", "London", "New York", "San Francisco");String citiesCommaSeparated原创 2020-05-22 09:22:03 · 175 阅读 · 0 评论