摘要: ###注解@FunctionalInterface ####定义 函数式接口 所谓的函数式接口,当然首先是一个接口,然后就是在这个接口里面只能有一个抽象方法。 这种类型的接口也称为SAM接口,即Single Abstract Method interfaces ####特点 接口有且仅有一个抽象方法 阅读全文
posted @ 2022-05-25 14:54 John_yan15 阅读(149) 评论(0) 推荐(0) 编辑