V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sudit  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2017-08-14 00:35:25 +08:00
回复了 hsiunien 创建的主题 程序员 哪位高人能帮我优化一段 Java 代码,强迫症犯了。
studentList = (rec == null)?new ArrayList<>() :
Stream.of(rec.split(separator))
.map(Student::convert)
.collect(Collectors.toList());
每个人都有对优雅的理解吧
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2265 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 05:23 · PVG 13:23 · LAX 22:23 · JFK 01:23
Developed with CodeLauncher
♥ Do have faith in what you're doing.