mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-21 14:15:13 +00:00
added Callback pattern
This commit is contained in:
1 parent
33362d60ad
commit
bf2df42c55
10 files changed
+140
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
* Implementation of task that need to be executed
|
||||
*/
|
||||
public class SimpleTask extends Task {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
System.out.println("Perform some important activity.");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user