@FunctionalInterface public interface VoidSupplier
文件名:VoidSupplier.java
用途: 定义一个包含不接受参数,也不进行返回任何内容的函数式接口
编码时间:2022年2月9日 上午8:24:15
修改时间:2022年2月9日 上午8:24:15
Modifier and Type | Method and Description |
---|---|
void |
apply()
该方法既不接收参数,也不返回结果
|
Copyright © 2024. All rights reserved.