java 方法引用(method reference)

it -> it != null
等价于
Objects::nonNull

猜你喜欢

转载自www.cnblogs.com/mhc-fly/p/10098771.html