Java常用函数式接口--Consumer接口使用案例

 

第一种方式:

第二种方式:

猜你喜欢

转载自www.cnblogs.com/niwotaxuexiba/p/10851829.html
今日推荐