Interface Executable

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 Executable
Executes some code like Runnable but can throw a checked Exception
Since:
9.3
API:
This is a public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes some code like Runnable.run() but can throw a checked Exception