lambda-list-简单排序

list.sort((Entry h1, Entry h2) -> h1.getName().compareTo(h2.getName()));

posted @ 2018-08-23 15:29  刘野  阅读(783)  评论(0)    收藏  举报