@FunctionalInterface
public interface Enter
Block.enter() method. This is
equivalent to Runnable but is made separate so that when passed as a parameter
the lambda will be easily distinguished. Casting a lambda to this type also will serve as
useful documentation.| Modifier and Type | Method and Description |
|---|---|
void |
enter()
Provides a callback to execute user-defined logic at the top of the block body but before
the block body is executed.
|
void enter()