Add creational patterns, Interpreter; remove scripts; update README
This commit is contained in:
6
01-creational/abstract-factory/WindowsFactory.java
Normal file
6
01-creational/abstract-factory/WindowsFactory.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package abstractfactory;
|
||||
|
||||
public class WindowsFactory implements GUIFactory {
|
||||
@Override public Button createButton() { return new WindowsButton(); }
|
||||
@Override public Checkbox createCheckbox() { return new WindowsCheckbox(); }
|
||||
}
|
||||
Reference in New Issue
Block a user