优雅判空

1.Optional

orElse
orElseThrow
ifPresent
ofNullable()
of()
map()
原文地址:https://www.cnblogs.com/PythonOrg/p/14742178.html