Interface XRunnable

All Superinterfaces:
Runnable, Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface XRunnable extends Runnable, Serializable
该接口旨在为希望在活动时执行代码的对象提供通用协议 例如,Runnable 是由类 Thread 实现的,处于活动状态仅意味着线程已启动且尚未停止
Since:
Java 17+
Author:
Kimi Liu