cn.allbs.hj212.lambda.RunnableWithThrowable Maven / Gradle / Ivy
package cn.allbs.hj212.lambda;
/**
* 功能:
*
* @author chenQi
*/
@FunctionalInterface
public interface RunnableWithThrowable {
/**
* When an object implementing interface Runnable
is used
* to create a thread, starting the thread causes the object's
* run
method to be called in that separately executing
* thread.
*
* The general contract of the method run
is that it may
* take any action whatsoever.
*
* @see Thread#run()
*/
public abstract void run() throws T;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy