@FunctionalInterface
public interface Init
Block.init()
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 |
init()
Provides a callback to initialize state ONCE before the body gets executed.
|
void init()