added command pattern example
This commit is contained in:
7
src/learn/simple_command/Receiver.java
Normal file
7
src/learn/simple_command/Receiver.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package learn.simple_command;
|
||||
|
||||
public class Receiver {
|
||||
public void action() {
|
||||
System.out.println("Do my action");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user