-
- 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 RunnableIOThe interface Runnable io.
-
-
Method Summary
Modifier and Type Method Description voidrun()When an object implementing interface
-
-
-
Method Detail
-
run
void run() throws java.io.IOException
When an object implementing interface
is used to create a thread, starting the thread causes the object'sRunnable
method to be called in that separately executing thread. The general contract of the methodrun
is that it may take any action whatsoever.run- Throws:
java.io.IOException- the io exception- See Also:
java.lang.Thread#run()
-
-