mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 18:58:44 +00:00
code implemented
This commit is contained in:
@@ -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