mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 22:13:34 +00:00
code implemented
This commit is contained in:
1 parent
a34e7be9c2
commit
8530d01e10
3 files changed
+24
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Created by Alexis on 29-Apr-17.
|
||||
*/
|
||||
public class Guard implements Permission {
|
||||
|
||||
protected static void enter() {
|
||||
System.out.println("You can enter");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user