mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 03:01:12 +00:00
execute around lambda
This commit is contained in:
@@ -30,6 +30,7 @@ import java.io.IOException;
|
||||
* Interface for specifying what to do with the file resource.
|
||||
*
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface FileWriterAction {
|
||||
|
||||
void writeFile(FileWriter writer) throws IOException;
|
||||
|
||||
Reference in New Issue
Block a user