added factory method sample

This commit is contained in:
Ilkka Seppala
2014-08-10 10:07:38 +03:00
parent fbb9ebd46c
commit a9de898072
10 changed files with 128 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package com.iluwatar;
public interface Blacksmith {
Weapon manufactureWeapon(WeaponType weaponType);
}